Package nz.org.riskscape.rl
Class MalformedExpressionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nz.org.riskscape.engine.RiskscapeException
nz.org.riskscape.dsl.ParseException
nz.org.riskscape.rl.MalformedExpressionException
- All Implemented Interfaces:
Serializable
Thrown by a ExpressionParser when we got an unexpected token, indicating that the expression must be malformed. Note that the Token in this case does not have any absolute line/column info, so doesn't hold much relevance to the user. I.e. the column only relates to the expression string itself, not where the expression appears in the overall file.
- See Also:
-
Constructor Summary
ConstructorDescriptionMalformedExpressionException
(String expression, UnexpectedTokenException exception) -
Method Summary
Methods inherited from class nz.org.riskscape.engine.RiskscapeException
getProblem, hasProblem
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MalformedExpressionException
-
-
Method Details
-
getCause
- Overrides:
getCause
in classRiskscapeException
-
getGot
-
getExpected
-
getException
-
getExpression
-