@ControllerAdvice(annotations=ServiceBrokerRestController.class) @ResponseBody @Order(value=2147483637) public class ServiceBrokerWebMvcExceptionHandler extends ServiceBrokerExceptionHandler
UNPROCESSABLE_REQUEST| Constructor and Description |
|---|
ServiceBrokerWebMvcExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected org.slf4j.Logger |
getLog()
Callback to implementing classes to obtain the configured Logger
|
ErrorMessage |
handleException(MethodArgumentNotValidException ex)
Handle a
MethodArgumentNotValidException |
ErrorMessage |
handleException(MissingServletRequestParameterException ex)
|
getErrorResponse, getErrorResponse, getErrorResponse, getOperationInProgressMessage, handleBindingException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleExceptionprotected org.slf4j.Logger getLog()
ServiceBrokerExceptionHandlergetLog in class ServiceBrokerExceptionHandler@ExceptionHandler(value=org.springframework.web.bind.MethodArgumentNotValidException.class) @ResponseStatus(value=BAD_REQUEST) public ErrorMessage handleException(MethodArgumentNotValidException ex)
MethodArgumentNotValidExceptionex - the exception@ExceptionHandler(value=org.springframework.web.bind.MissingServletRequestParameterException.class) @ResponseStatus(value=BAD_REQUEST) public ErrorMessage handleException(MissingServletRequestParameterException ex)
ex - the exception