Package org.springframework.expression
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 org.springframework.expression.ExpressionException
expressionString, position -
Constructor Summary
ConstructorsConstructorDescriptionEvaluationException(int position, String message) Create a new expression evaluation exception.EvaluationException(int position, String message, Throwable cause) Create a new expression evaluation exception.EvaluationException(String message) Create a new expression evaluation exception.EvaluationException(String expressionString, String message) Create a new expression evaluation exception.EvaluationException(String message, Throwable cause) Create a new expression evaluation exception. -
Method Summary
Methods inherited from class org.springframework.expression.ExpressionException
getExpressionString, getMessage, getPosition, getSimpleMessage, toDetailedStringMethods inherited from class java.lang.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
Create a new expression evaluation exception.- Parameters:
message- description of the problem that occurredcause- the underlying cause of this exception
-
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
Create a new expression evaluation exception.- Parameters:
expressionString- the expression that could not be evaluatedmessage- description of the problem that occurred
-
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
-