Class ValidationException

All Implemented Interfaces:
Serializable

Exception used with Validator.

Typically this is used when validating a bean populated by request body content.

Generally this exception type is registered with an exception handler and configured to return a 422 or 400 http status response with the errors as a map of fields to error message.

See Also: