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: