public class SpelEvaluationException extends EvaluationException
SpelMessage
for the list of all possible messages that can occur.expressionString, position
Constructor and Description |
---|
SpelEvaluationException(int position,
SpelMessage message,
java.lang.Object... inserts) |
SpelEvaluationException(int position,
java.lang.Throwable cause,
SpelMessage message,
java.lang.Object... inserts) |
SpelEvaluationException(SpelMessage message,
java.lang.Object... inserts) |
SpelEvaluationException(java.lang.Throwable cause,
SpelMessage message,
java.lang.Object... inserts) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
getInserts()
Return the message inserts.
|
SpelMessage |
getMessageCode()
Return the message code.
|
void |
setPosition(int position)
Set the position in the related expression which gave rise to this exception.
|
getExpressionString, getMessage, getPosition, getSimpleMessage, toDetailedString
public SpelEvaluationException(SpelMessage message, java.lang.Object... inserts)
public SpelEvaluationException(int position, SpelMessage message, java.lang.Object... inserts)
public SpelEvaluationException(int position, java.lang.Throwable cause, SpelMessage message, java.lang.Object... inserts)
public SpelEvaluationException(java.lang.Throwable cause, SpelMessage message, java.lang.Object... inserts)
public void setPosition(int position)
public SpelMessage getMessageCode()
public java.lang.Object[] getInserts()