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