Class MethodArgumentNotValidException

All Implemented Interfaces:
Serializable, BindingResult, Errors, ErrorResponse

public class MethodArgumentNotValidException extends BindException implements ErrorResponse
Exception to be thrown when validation on an argument annotated with @Valid fails. Extends BindException as of 5.3.
Since:
3.1
Author:
Rossen Stoyanchev, Juergen Hoeller, Sebastien Deleuze
See Also: