Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.expression.ExpressionException
org.springframework.expression.ParseException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SpelParseException
Represent an exception that occurs during expression parsing.
- Since:
- 3.0
- Author:
- Andy Clement
- See Also:
-
Field Summary
Fields inherited from class ExpressionException
expressionString, position -
Constructor Summary
ConstructorsConstructorDescriptionParseException(int position, String message) Create a new expression parsing exception.ParseException(int position, String message, Throwable cause) Create a new expression parsing exception.ParseException(@Nullable String expressionString, int position, String message) Create a new expression parsing exception. -
Method Summary
Methods inherited from class ExpressionException
getExpressionString, getMessage, getPosition, getSimpleMessage, toDetailedStringMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParseException
Create a new expression parsing exception.- Parameters:
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
-
ParseException
Create a new expression parsing exception.- Parameters:
position- the position in the expression string where the problem occurredmessage- description of the problem that occurred
-