@Order(value=-2147483648)
@ControllerAdvice
public class RestExceptionHandler
extends org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
| Constructor and Description |
|---|
RestExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.http.ResponseEntity<java.lang.Object> |
handleAccessDeniedException(org.springframework.security.access.AccessDeniedException ex,
org.springframework.web.context.request.WebRequest request) |
protected org.springframework.http.ResponseEntity<java.lang.Object> |
handleEntityNotFound(io.polyglotted.spring.errorhandling.ExceptionFactory.NotFoundException ex,
org.springframework.web.context.request.WebRequest request) |
protected org.springframework.http.ResponseEntity<java.lang.Object> |
handleWebException(io.polyglotted.spring.errorhandling.ExceptionFactory.WebException ex,
org.springframework.web.context.request.WebRequest request) |
handleAsyncRequestTimeoutException, handleBindException, handleConversionNotSupported, handleException, handleExceptionInternal, handleHttpMediaTypeNotAcceptable, handleHttpMediaTypeNotSupported, handleHttpMessageNotReadable, handleHttpMessageNotWritable, handleHttpRequestMethodNotSupported, handleMethodArgumentNotValid, handleMissingPathVariable, handleMissingServletRequestParameter, handleMissingServletRequestPart, handleNoHandlerFoundException, handleServletRequestBindingException, handleTypeMismatch@ExceptionHandler(value=io.polyglotted.spring.errorhandling.ExceptionFactory.NotFoundException.class)
protected org.springframework.http.ResponseEntity<java.lang.Object> handleEntityNotFound(io.polyglotted.spring.errorhandling.ExceptionFactory.NotFoundException ex,
org.springframework.web.context.request.WebRequest request)
@ExceptionHandler(value=io.polyglotted.spring.errorhandling.ExceptionFactory.WebException.class)
protected org.springframework.http.ResponseEntity<java.lang.Object> handleWebException(io.polyglotted.spring.errorhandling.ExceptionFactory.WebException ex,
org.springframework.web.context.request.WebRequest request)
@ExceptionHandler(value=org.springframework.security.access.AccessDeniedException.class)
protected org.springframework.http.ResponseEntity<java.lang.Object> handleAccessDeniedException(org.springframework.security.access.AccessDeniedException ex,
org.springframework.web.context.request.WebRequest request)