类 SpelParseException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.expression.ExpressionException
- org.springframework.expression.ParseException
- org.springframework.expression.spel.SpelParseException
- 所有已实现的接口:
Serializable
public class SpelParseException extends ParseException
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. SeeSpelMessage
for the list of all possible messages that can occur.- 从以下版本开始:
- 3.0
- 作者:
- Andy Clement, Juergen Hoeller
- 另请参阅:
- 序列化表格
字段概要
从类继承的字段 org.springframework.expression.ExpressionException
expressionString, position
构造器概要
构造器 构造器 说明 SpelParseException(int position, Throwable cause, SpelMessage message, Object... inserts)
SpelParseException(int position, SpelMessage message, Object... inserts)
SpelParseException(String expressionString, int position, SpelMessage message, Object... inserts)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Object[]
getInserts()
Return the message inserts.SpelMessage
getMessageCode()
Return the message code.从类继承的方法 org.springframework.expression.ExpressionException
getExpressionString, getMessage, getPosition, getSimpleMessage, toDetailedString
构造器详细资料
SpelParseException
public SpelParseException(String expressionString, int position, SpelMessage message, Object... inserts)
SpelParseException
public SpelParseException(int position, SpelMessage message, Object... inserts)
SpelParseException
public SpelParseException(int position, Throwable cause, SpelMessage message, Object... inserts)
方法详细资料
getMessageCode
public SpelMessage getMessageCode()
Return the message code.
getInserts
public Object[] getInserts()
Return the message inserts.