@ControllerAdvice public class ValidationExceptionHandler extends Object
| Constructor and Description |
|---|
ValidationExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Object> |
handleValidationException(org.springframework.web.bind.MethodArgumentNotValidException pe) |
@ExceptionHandler(value=org.springframework.web.bind.MethodArgumentNotValidException.class) public org.springframework.http.ResponseEntity<Object> handleValidationException(org.springframework.web.bind.MethodArgumentNotValidException pe)
Copyright © 2015 Matsuo IT. All rights reserved.