Package nz.org.riskscape.dsl
Class LexerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nz.org.riskscape.engine.RiskscapeException
nz.org.riskscape.dsl.LexerException
- All Implemented Interfaces:
Serializable
General exception thrown during lexing
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLexerException(Problem problem, SourceLocation location, String offendingLine) -
Method Summary
Modifier and TypeMethodDescriptionThe source location where the lexer error occurredMethods inherited from class nz.org.riskscape.engine.RiskscapeException
getCause, getProblem, getProblems, hasProblemMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LexerException
-
-
Method Details
-
getLocation
The source location where the lexer error occurred
-
getOffendingLine
- Returns:
- the full offending line of source text where the exception occurred
-