open class MethodArgumentNotValidException : Exception
Exception to be thrown when validation on an argument annotated with @Valid fails.
Author
Rossen Stoyanchev
Since
3.1
MethodArgumentNotValidException(parameter: MethodParameter, bindingResult: BindingResult)
Constructor for MethodArgumentNotValidException. |
open val message: String |
open fun getBindingResult(): BindingResult
Return the results of the failed validation. |
|
open fun getParameter(): MethodParameter
Return the method parameter that failed validation. |