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:
- java.io.Serializable
- Direct Known Subclasses:
- ExpressionInvocationTargetException, SpelEvaluationException
public class EvaluationException
- extends ExpressionException
Represent an exception that occurs during expression evaluation.
- Since:
- 3.0
- Author:
- Andy Clement
- See Also:
- Serialized Form
Constructor Summary |
EvaluationException(int position,
java.lang.String message)
Creates a new expression evaluation exception. |
EvaluationException(int position,
java.lang.String message,
java.lang.Throwable cause)
Creates a new expression evaluation exception. |
EvaluationException(java.lang.String message)
Creates a new expression evaluation exception. |
EvaluationException(java.lang.String expressionString,
java.lang.String message)
Creates a new expression evaluation exception. |
EvaluationException(java.lang.String message,
java.lang.Throwable cause)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EvaluationException
public EvaluationException(int position,
java.lang.String message)
- Creates a new expression evaluation exception.
- Parameters:
position
- the position in the expression where the problem occurredmessage
- description of the problem that occurred
EvaluationException
public EvaluationException(java.lang.String expressionString,
java.lang.String message)
- Creates a new expression evaluation exception.
- Parameters:
expressionString
- the expression that could not be evaluatedmessage
- description of the problem that occurred
EvaluationException
public EvaluationException(int position,
java.lang.String message,
java.lang.Throwable cause)
- Creates 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
EvaluationException
public EvaluationException(java.lang.String message)
- Creates a new expression evaluation exception.
- Parameters:
message
- description of the problem that occurred
EvaluationException
public EvaluationException(java.lang.String message,
java.lang.Throwable cause)