Class SpelEvaluationException

All Implemented Interfaces:

public class SpelEvaluationException extends 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.

Andy Clement, Juergen Hoeller
See Also:
  • Constructor Details

  • Method Details

    • setPosition

      public void setPosition(int position)
      Set the position in the related expression which gave rise to this exception.
    • getMessageCode

      public SpelMessage getMessageCode()
      Return the message code.
    • getInserts

      @Nullable public Object[] getInserts()
      Return the message inserts.