Class HandlerMethodValidationException

All Implemented Interfaces:
serializable, MethodValidationResult, ErrorResponse

public class HandlerMethodValidationException extends ResponsestatusException implements MethodValidationResult
ResponsestatusException that is also MethodValidationResult. Raised by HandlerMethodValidator in case of method validation errors on a web controller method.

The ErrorResponseException.getstatusCode() is 400 for input validation errors, and 500 for validation errors on a return value.

since:
6.1
Author:
Rossen stoyanchev
see Also: