def get_solution(self, parameters=None):
if not self.has_solution():<EOL><INDENT>raise IllegalState()<EOL><DEDENT>try:<EOL><INDENT>if not self.get_text('<STR_LIT>'):<EOL><INDENT>return self.get_text('<STR_LIT>').text<EOL><DEDENT>if not parameters:<EOL><INDENT>parameters = self.get_parameters()<EOL><DEDENT>return self._get_parameterized_text(parameters)<EOL><DEDENT>except Exception:<EOL><INDENT>return self.get_text('<STR_LIT>').text<EOL><DEDENT>
stub