Class ExpressionInvocationTargetException

All Implemented Interfaces:
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:
  • Constructor Details

    • ExpressionInvocationTargetException

      public ExpressionInvocationTargetException(int position, String message, @Nullable Throwable cause)
    • ExpressionInvocationTargetException

      public ExpressionInvocationTargetException(int position, String message)
    • ExpressionInvocationTargetException

      public ExpressionInvocationTargetException(String expressionString, String message)
    • ExpressionInvocationTargetException

      public ExpressionInvocationTargetException(String message, @Nullable Throwable cause)
    • ExpressionInvocationTargetException

      public ExpressionInvocationTargetException(String message)