类 ParseException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.expression.ExpressionException
- org.springframework.expression.ParseException
- 所有已实现的接口:
Serializable
- 直接已知子类:
SpelParseException
public class ParseException extends ExpressionException
Represent an exception that occurs during expression parsing.- 从以下版本开始:
- 3.0
- 作者:
- Andy Clement
- 另请参阅:
- 序列化表格
字段概要
从类继承的字段 org.springframework.expression.ExpressionException
expressionString, position
构造器概要
构造器 构造器 说明 ParseException(int position, String message)
Create a new expression parsing exception.ParseException(int position, String message, Throwable cause)
Create a new expression parsing exception.ParseException(String expressionString, int position, String message)
Create a new expression parsing exception.
方法概要
从类继承的方法 org.springframework.expression.ExpressionException
getExpressionString, getMessage, getPosition, getSimpleMessage, toDetailedString
构造器详细资料
ParseException
public ParseException(String expressionString, int position, String message)
Create a new expression parsing exception.- 参数:
expressionString
- the expression string that could not be parsedposition
- the position in the expression string where the problem occurredmessage
- description of the problem that occurred
ParseException
public ParseException(int position, String message, Throwable cause)
Create a new expression parsing exception.- 参数:
position
- the position in the expression string where the problem occurredmessage
- description of the problem that occurredcause
- the underlying cause of this exception
ParseException
public ParseException(int position, String message)
Create a new expression parsing exception.- 参数:
position
- the position in the expression string where the problem occurredmessage
- description of the problem that occurred