public class EvaluationException
extends java.lang.RuntimeException
Constructor and Description |
---|
EvaluationException(java.lang.Class contextClass,
java.lang.String expressionString,
java.lang.String message)
Creates a new evaluation exception.
|
EvaluationException(java.lang.Class contextClass,
java.lang.String expressionString,
java.lang.String message,
java.lang.Throwable cause)
Creates a new evaluation exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getContextClass()
The class of object upon which evaluation was attempted and failed.
|
java.lang.String |
getExpressionString()
The string form of the expression that failed to evaluate against an instance of the the context class.
|
public EvaluationException(java.lang.Class contextClass, java.lang.String expressionString, java.lang.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(java.lang.Class contextClass, java.lang.String expressionString, java.lang.String message, java.lang.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 java.lang.Class getContextClass()
public java.lang.String getExpressionString()