Top Description Fields Constructors Methods
org.springframework.expression.spel

public Class SpelParseException

extends ParseException
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
org.springframework.expression.ParseException, org.springframework.lang.Nullable

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.
Authors
Andy Clement, Juergen Hoeller
Since
3.0

Field Summary

Modifier and TypeField and Description
private final Object[]
private final SpelMessage

Constructor Summary

AccessConstructor and Description
public
SpelParseException(String expressionString, int position, SpelMessage message, Object... inserts)

public
SpelParseException(int position, SpelMessage message, Object... inserts)

public
SpelParseException(int position, Throwable cause, SpelMessage message, Object... inserts)

Method Summary

Modifier and TypeMethod and Description
public Object[]
getInserts()

Return the message inserts.

public SpelMessage
getMessageCode()

Return the message code.

Field Detail

insertsback to summary
private final Object[] inserts
messageback to summary
private final SpelMessage message

Constructor Detail

SpelParseExceptionback to summary
public SpelParseException(String expressionString, int position, SpelMessage message, Object... inserts)
SpelParseExceptionback to summary
public SpelParseException(int position, SpelMessage message, Object... inserts)
SpelParseExceptionback to summary
public SpelParseException(int position, Throwable cause, SpelMessage message, Object... inserts)

Method Detail

getInsertsback to summary
public Object[] getInserts()

Return the message inserts.

getMessageCodeback to summary
public SpelMessage getMessageCode()

Return the message code.