Package org.springframework.expression
Class ExpressionInvocationTargetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.expression.ExpressionException
org.springframework.expression.EvaluationException
org.springframework.expression.ExpressionInvocationTargetException
- All Implemented Interfaces:
Serializable
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.
- Since:
- 3.0.3
- Author:
- Andy Clement
- See Also:
-
Field Summary
Fields inherited from class org.springframework.expression.ExpressionException
expressionString, position
-
Constructor Summary
ConstructorDescriptionExpressionInvocationTargetException
(int position, String message) ExpressionInvocationTargetException
(int position, String message, @Nullable Throwable cause) ExpressionInvocationTargetException
(String message, @Nullable Throwable cause) ExpressionInvocationTargetException
(String expressionString, String message) -
Method Summary
Methods inherited from class org.springframework.expression.ExpressionException
getExpressionString, getMessage, getPosition, getSimpleMessage, toDetailedString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExpressionInvocationTargetException
-
ExpressionInvocationTargetException
-
ExpressionInvocationTargetException
-
ExpressionInvocationTargetException
-
ExpressionInvocationTargetException
-