public class ExceptionAdviceHandler
extends org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
| 构造器和说明 |
|---|
ExceptionAdviceHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.http.ResponseEntity<Object> |
authExceptionHandler(org.springframework.web.context.request.WebRequest request,
AuthorizingException ex) |
protected Map<String,Object> |
errorWrap(int status,
String title,
String message) |
protected org.springframework.http.ResponseEntity<Object> |
handleExceptionInternal(Exception ex,
Object body,
org.springframework.http.HttpHeaders headers,
org.springframework.http.HttpStatus status,
org.springframework.web.context.request.WebRequest request) |
handleAsyncRequestTimeoutException, handleBindException, handleConversionNotSupported, handleException, handleHttpMediaTypeNotAcceptable, handleHttpMediaTypeNotSupported, handleHttpMessageNotReadable, handleHttpMessageNotWritable, handleHttpRequestMethodNotSupported, handleMethodArgumentNotValid, handleMissingPathVariable, handleMissingServletRequestParameter, handleMissingServletRequestPart, handleNoHandlerFoundException, handleServletRequestBindingException, handleTypeMismatch@ExceptionHandler(value=AuthorizingException.class) public org.springframework.http.ResponseEntity<Object> authExceptionHandler(org.springframework.web.context.request.WebRequest request, AuthorizingException ex)
protected org.springframework.http.ResponseEntity<Object> handleExceptionInternal(Exception ex, @Nullable Object body, org.springframework.http.HttpHeaders headers, org.springframework.http.HttpStatus status, org.springframework.web.context.request.WebRequest request)
handleExceptionInternal 在类中 org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandlerCopyright © 2019. All rights reserved.