Interface ISolutionErrorModelFactory
- All Known Implementing Classes:
SimpleSolutionErrorModelFactory
public interface ISolutionErrorModelFactory
Produces
solution error models for exceptions relevant
to user's solutions.- Author:
- Erik Zemčík
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateSolutionErrorModel(InvalidSyntaxException exception) Creates asolution error modelfor an exception caused by usage of an invalid syntax in the solution.createSolutionErrorModel(StepEvaluationException exception) Creates asolution error modelfor an exception caused by error during evaluation of the solution.
-
Method Details
-
createSolutionErrorModel
Creates asolution error modelfor an exception caused by usage of an invalid syntax in the solution.- Parameters:
exception- invalid syntax exception- Returns:
- model containing relevant information about the exception
- Throws:
IllegalArgumentException- ifexceptionisnull
-
createSolutionErrorModel
Creates asolution error modelfor an exception caused by error during evaluation of the solution.- Parameters:
exception- step evaluation exception- Returns:
- model containing relevant information about the exception
- Throws:
IllegalArgumentException- ifexceptionisnull
-