@ControllerAdvice
public class CoreControllerAdvice
extends org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
Constructor and Description |
---|
CoreControllerAdvice() |
Modifier and Type | Method and Description |
---|---|
void |
initBinder(org.springframework.web.bind.WebDataBinder binder,
org.springframework.web.context.request.WebRequest request) |
org.springframework.http.ResponseEntity<java.lang.Object> |
prepareException(java.lang.Exception e,
org.springframework.web.context.request.WebRequest request) |
handleBindException, handleConversionNotSupported, handleException, handleExceptionInternal, handleHttpMediaTypeNotAcceptable, handleHttpMediaTypeNotSupported, handleHttpMessageNotReadable, handleHttpMessageNotWritable, handleHttpRequestMethodNotSupported, handleMethodArgumentNotValid, handleMissingServletRequestParameter, handleMissingServletRequestPart, handleNoHandlerFoundException, handleNoSuchRequestHandlingMethod, handleServletRequestBindingException, handleTypeMismatch
@ExceptionHandler(value=java.lang.Exception.class) public org.springframework.http.ResponseEntity<java.lang.Object> prepareException(java.lang.Exception e, org.springframework.web.context.request.WebRequest request)
@InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder, org.springframework.web.context.request.WebRequest request)