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