I\'m trying to group the code that logs the exceptions and render a nice view in a few methods. At the moment the logic is sometime in the @RequestHand
@RequestHand
Actually it does, just create an @ExceptionHandler method for MethodArgumentNotValidException.
@ExceptionHandler
MethodArgumentNotValidException
That class gives you access to a BindingResult object.
BindingResult