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,
Object... inserts) |
SpelEvaluationException(int position,
Throwable cause,
SpelMessage message,
Object... inserts) |
SpelEvaluationException(SpelMessage message,
Object... inserts) |
SpelEvaluationException(Throwable cause,
SpelMessage message,
Object... inserts) |
Modifier and Type | Method and Description |
---|---|
Object[] |
getInserts()
Return the message inserts.
|
String |
getMessage()
Return the exception message.
|
SpelMessage |
getMessageCode()
Return the message code.
|
void |
setPosition(int position)
Set the position in the related expression which gave rise to this exception.
|
getExpressionString, getPosition, getSimpleMessage, toDetailedString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SpelEvaluationException(SpelMessage message, Object... inserts)
public SpelEvaluationException(int position, SpelMessage message, Object... inserts)
public SpelEvaluationException(int position, Throwable cause, SpelMessage message, Object... inserts)
public SpelEvaluationException(Throwable cause, SpelMessage message, Object... inserts)
public void setPosition(int position)
public SpelMessage getMessageCode()
public Object[] getInserts()
public String getMessage()
ExpressionException
ExpressionException.toDetailedString()
.getMessage
in class ExpressionException
ExpressionException.getSimpleMessage()
,
Throwable.getMessage()