Top Description Fields Constructors Methods
org.springframework.expression

public Class EvaluationException

extends ExpressionException
Class Inheritance
Known Direct Subclasses
org.springframework.expression.ExpressionInvocationTargetException, org.springframework.expression.spel.SpelEvaluationException
Annotations
@SuppressWarnings:serial

Represent an exception that occurs during expression evaluation.
Author
Andy Clement
Since
3.0

Field Summary

Inherited from org.springframework.expression.ExpressionException:
expressionStringposition

Constructor Summary

AccessConstructor and Description
public
EvaluationException(String
description of the problem that occurred
message
)

Create a new expression evaluation exception.

public
EvaluationException(String
description of the problem that occurred
message
,
Throwable
the underlying cause of this exception
cause
)

Create a new expression evaluation exception.

public
EvaluationException(int
the position in the expression where the problem occurred
position
,
String
description of the problem that occurred
message
)

Create a new expression evaluation exception.

public
EvaluationException(String
the expression that could not be evaluated
expressionString
,
String
description of the problem that occurred
message
)

Create a new expression evaluation exception.

public
EvaluationException(int
the position in the expression where the problem occurred
position
,
String
description of the problem that occurred
message
,
Throwable
the underlying cause of this exception
cause
)

Create a new expression evaluation exception.

Method Summary

Inherited from org.springframework.expression.ExpressionException:
getExpressionStringgetMessagegetPositiongetSimpleMessagetoDetailedString

Constructor Detail

EvaluationExceptionback to summary
public EvaluationException(String message)

Create a new expression evaluation exception.

Parameters
message:String

description of the problem that occurred

EvaluationExceptionback to summary
public EvaluationException(String message, Throwable cause)

Create a new expression evaluation exception.

Parameters
message:String

description of the problem that occurred

cause:Throwable

the underlying cause of this exception

EvaluationExceptionback to summary
public EvaluationException(int position, String message)

Create a new expression evaluation exception.

Parameters
position:int

the position in the expression where the problem occurred

message:String

description of the problem that occurred

EvaluationExceptionback to summary
public EvaluationException(String expressionString, String message)

Create a new expression evaluation exception.

Parameters
expressionString:String

the expression that could not be evaluated

message:String

description of the problem that occurred

EvaluationExceptionback to summary
public EvaluationException(int position, String message, Throwable cause)

Create a new expression evaluation exception.

Parameters
position:int

the position in the expression where the problem occurred

message:String

description of the problem that occurred

cause:Throwable

the underlying cause of this exception