Package org.moeaframework.util.grammar
Class GrammarException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.moeaframework.core.FrameworkException
org.moeaframework.util.grammar.GrammarException
- All Implemented Interfaces:
Serializable
Exception indicating an error while parsing or processing grammars.
- See Also:
-
Constructor Summary
ConstructorDescriptionGrammarException
(String message) Constructs an exception indicating an error while parsing or processing grammars.GrammarException
(String message, int line) Constructs an exception indicating an error while parsing or processing grammars. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GrammarException
Constructs an exception indicating an error while parsing or processing grammars.- Parameters:
message
- the error message
-
GrammarException
Constructs an exception indicating an error while parsing or processing grammars.- Parameters:
message
- the error messageline
- the line number on which the error occurred
-