Class SpelParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.expression.ExpressionException
org.springframework.expression.ParseException
org.springframework.expression.spel.SpelParseException
- All Implemented Interfaces:
 Serializable
Root exception for Spring EL related exceptions. Rather than holding a hard coded
string indicating the problem, it records a message key and the inserts for the
message. See 
SpelMessage for the list of all possible messages that can occur.- Since:
 - 3.0
 - Author:
 - Andy Clement, Juergen Hoeller
 - See Also:
 
- 
Field Summary
Fields inherited from class ExpressionException
expressionString, position - 
Constructor Summary
ConstructorsConstructorDescriptionSpelParseException(int position, Throwable cause, SpelMessage message, Object... inserts) SpelParseException(int position, SpelMessage message, Object... inserts) SpelParseException(@Nullable String expressionString, int position, SpelMessage message, Object... inserts)  - 
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
- 
SpelParseException
public SpelParseException(@Nullable String expressionString, int position, SpelMessage message, Object... inserts)  - 
SpelParseException
 - 
SpelParseException
 
 - 
 - 
Method Details
- 
getMessageCode
Return the message code. - 
getInserts
Return the message inserts. 
 -