@ControllerAdvice
public class RestResponseEntityExceptionHandler
extends org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
| Constructor and Description |
|---|
RestResponseEntityExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<java.lang.Object> |
handleAccessDeniedException(java.lang.Exception ex,
org.springframework.web.context.request.WebRequest request) |
handleAsyncRequestTimeoutException, handleBindException, handleConversionNotSupported, handleException, handleExceptionInternal, handleHttpMediaTypeNotAcceptable, handleHttpMediaTypeNotSupported, handleHttpMessageNotReadable, handleHttpMessageNotWritable, handleHttpRequestMethodNotSupported, handleMethodArgumentNotValid, handleMissingPathVariable, handleMissingServletRequestParameter, handleMissingServletRequestPart, handleNoHandlerFoundException, handleNoSuchRequestHandlingMethod, handleServletRequestBindingException, handleTypeMismatch@ExceptionHandler(value=org.springframework.security.access.AccessDeniedException.class)
public org.springframework.http.ResponseEntity<java.lang.Object> handleAccessDeniedException(java.lang.Exception ex,
org.springframework.web.context.request.WebRequest request)