spring-framework / org.springframework.expression / EvaluationException

EvaluationException

open class EvaluationException : ExpressionException

Represent an exception that occurs during expression evaluation.

Author
Andy Clement

Since
3.0

Constructors

<init>

EvaluationException(message: String)
EvaluationException(message: String, cause: Throwable)
EvaluationException(position: Int, message: String)
EvaluationException(expressionString: String, message: String)
EvaluationException(position: Int, message: String, cause: Throwable)

Create a new expression evaluation exception.

Inheritors

ExpressionInvocationTargetException

open class ExpressionInvocationTargetException : EvaluationException

This exception wraps (as cause) a checked exception thrown by some method that SpEL invokes. It differs from a SpelEvaluationException because this indicates the occurrence of a checked exception that the invoked method was defined to throw. SpelEvaluationExceptions are for handling (and wrapping) unexpected exceptions.

SpelEvaluationException

open class SpelEvaluationException : EvaluationException

Root exception for Spring EL related exceptions. Rather than holding a hard coded string indicating the problem, it records a message key and the inserts for the message. See SpelMessage for the list of all possible messages that can occur.