public class EvaluationException extends RuntimeException
Constructor and Description |
---|
EvaluationException(Class contextClass,
String expressionString,
String message)
Creates a new evaluation exception.
|
EvaluationException(Class contextClass,
String expressionString,
String message,
Throwable cause)
Creates a new evaluation exception.
|
Modifier and Type | Method and Description |
---|---|
Class |
getContextClass()
The class of object upon which evaluation was attempted and failed.
|
String |
getExpressionString()
The string form of the expression that failed to evaluate against an instance of the the context class.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public EvaluationException(Class contextClass, String expressionString, String message)
contextClass
- the class of object upon which evaluation was attemptedexpressionString
- the string form of the expression that failed to evaluatemessage
- the exception messagepublic EvaluationException(Class contextClass, String expressionString, String message, Throwable cause)
contextClass
- the class of object upon which evaluation was attemptedexpressionString
- the string form of the expression that failed to evaluatemessage
- the exception messagecause
- the underlying cause of this evaluation exceptionpublic Class getContextClass()
public String getExpressionString()