org.springframework.expression

Class ExpressionInvocationTargetException

  • All Implemented Interfaces:
    java.io.Serializable


    public class ExpressionInvocationTargetException
    extends 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.
    Since:
    3.0.3
    Author:
    Andy Clement
    See Also:
    Serialized Form
    • Constructor Detail

      • ExpressionInvocationTargetException

        public ExpressionInvocationTargetException(int position,
                                                   java.lang.String message,
                                                   java.lang.Throwable cause)
      • ExpressionInvocationTargetException

        public ExpressionInvocationTargetException(int position,
                                                   java.lang.String message)
      • ExpressionInvocationTargetException

        public ExpressionInvocationTargetException(java.lang.String expressionString,
                                                   java.lang.String message)
      • ExpressionInvocationTargetException

        public ExpressionInvocationTargetException(java.lang.String message,
                                                   java.lang.Throwable cause)
      • ExpressionInvocationTargetException

        public ExpressionInvocationTargetException(java.lang.String message)