Class EvaluationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.expression.ExpressionException
org.springframework.expression.EvaluationException
- All Implemented Interfaces:
 Serializable
- Direct Known Subclasses:
 ExpressionInvocationTargetException, SpelEvaluationException
Represent an exception that occurs during expression evaluation.
- Since:
 - 3.0
 - Author:
 - Andy Clement
 - See Also:
 
- 
Field Summary
Fields inherited from class ExpressionException
expressionString, position - 
Constructor Summary
ConstructorsConstructorDescriptionEvaluationException(int position, String message) Create a new expression evaluation exception.EvaluationException(int position, String message, @Nullable Throwable cause) Create a new expression evaluation exception.EvaluationException(String message) Create a new expression evaluation exception.EvaluationException(String message, @Nullable Throwable cause) Create a new expression evaluation exception.EvaluationException(String expressionString, String message) Create a new expression evaluation exception. - 
Method Summary
Methods inherited from class ExpressionException
getExpressionString, getMessage, getPosition, getSimpleMessage, toDetailedStringMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
EvaluationException
Create a new expression evaluation exception.- Parameters:
 message- description of the problem that occurred
 - 
EvaluationException
 - 
EvaluationException
Create a new expression evaluation exception.- Parameters:
 position- the position in the expression where the problem occurredmessage- description of the problem that occurred
 - 
EvaluationException
 - 
EvaluationException
Create a new expression evaluation exception.- Parameters:
 position- the position in the expression where the problem occurredmessage- description of the problem that occurredcause- the underlying cause of this exception
 
 -