类 SpelEvaluationException

所有已实现的接口:
Serializable

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.
从以下版本开始:
4.0
作者:
Andy Clement, Juergen Hoeller
另请参阅:
  • 字段详细资料

    • message

      private final SpelMessage message
    • inserts

      private final Object[] inserts
  • 构造器详细资料

    • SpelEvaluationException

      public SpelEvaluationException(SpelMessage message, Object... inserts)
    • SpelEvaluationException

      public SpelEvaluationException(int position, SpelMessage message, Object... inserts)
    • SpelEvaluationException

      public SpelEvaluationException(int position, Throwable cause, SpelMessage message, Object... inserts)
    • SpelEvaluationException

      public SpelEvaluationException(Throwable cause, SpelMessage message, Object... inserts)
  • 方法详细资料

    • 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

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