类 SpelEvaluationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.taketoday.expression.ExpressionException
cn.taketoday.expression.EvaluationException
cn.taketoday.expression.spel.SpelEvaluationException
- 所有已实现的接口:
Serializable
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
- 另请参阅:
-
字段概要
从类继承的字段 cn.taketoday.expression.ExpressionException
expressionString, position -
构造器概要
构造器构造器说明SpelEvaluationException(int position, SpelMessage message, Object... inserts) SpelEvaluationException(int position, Throwable cause, SpelMessage message, Object... inserts) SpelEvaluationException(SpelMessage message, Object... inserts) SpelEvaluationException(Throwable cause, SpelMessage message, Object... inserts) -
方法概要
修饰符和类型方法说明Object[]Return the message inserts.Return the message code.voidsetPosition(int position) Set the position in the related expression which gave rise to this exception.从类继承的方法 cn.taketoday.expression.ExpressionException
getExpressionString, getMessage, getPosition, getSimpleMessage, toDetailedString
-
构造器详细资料
-
SpelEvaluationException
-
SpelEvaluationException
-
SpelEvaluationException
public SpelEvaluationException(int position, Throwable cause, SpelMessage message, Object... inserts) -
SpelEvaluationException
-
-
方法详细资料
-
setPosition
public void setPosition(int position) Set the position in the related expression which gave rise to this exception. -
getMessageCode
Return the message code. -
getInserts
Return the message inserts.
-