open class SpelEvaluationException : EvaluationException
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.
Author
Andy Clement
Author
Juergen Hoeller
Since
3.0
SpelEvaluationException(message: SpelMessage, vararg inserts: Any)SpelEvaluationException(position: Int, message: SpelMessage, vararg inserts: Any)SpelEvaluationException(position: Int, cause: Throwable, message: SpelMessage, vararg inserts: Any)SpelEvaluationException(cause: Throwable, message: SpelMessage, vararg inserts: Any) |
open fun getInserts(): Array<Any>
Return the message inserts. |
|
open fun getMessageCode(): SpelMessage
Return the message code. |
|
open fun setPosition(position: Int): Unit
Set the position in the related expression which gave rise to this exception. |