Top Description Fields Constructors Methods
org.springframework.expression

public Class ParseException

extends ExpressionException
Class Inheritance
Known Direct Subclasses
org.springframework.expression.spel.SpelParseException
Annotations
@SuppressWarnings:serial
Imports
org.springframework.lang.Nullable

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

Field Summary

Inherited from org.springframework.expression.ExpressionException:
expressionStringposition

Constructor Summary

AccessConstructor and Description
public
ParseException(String
the expression string that could not be parsed
expressionString
,
int
the position in the expression string where the problem occurred
position
,
String
description of the problem that occurred
message
)

Create a new expression parsing exception.

public
ParseException(int
the position in the expression string 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 parsing exception.

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

Create a new expression parsing exception.

Method Summary

Inherited from org.springframework.expression.ExpressionException:
getExpressionStringgetMessagegetPositiongetSimpleMessagetoDetailedString

Constructor Detail

ParseExceptionback to summary
public ParseException(String expressionString, int position, String message)

Create a new expression parsing exception.

Parameters
expressionString:String

the expression string that could not be parsed

position:int

the position in the expression string where the problem occurred

message:String

description of the problem that occurred

ParseExceptionback to summary
public ParseException(int position, String message, Throwable cause)

Create a new expression parsing exception.

Parameters
position:int

the position in the expression string where the problem occurred

message:String

description of the problem that occurred

cause:Throwable

the underlying cause of this exception

ParseExceptionback to summary
public ParseException(int position, String message)

Create a new expression parsing exception.

Parameters
position:int

the position in the expression string where the problem occurred

message:String

description of the problem that occurred