Class ErrorController
java.lang.Object
org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
org.chenile.configuration.http.controller.ErrorController
- All Implemented Interfaces:
Aware
,MessageSourceAware
-
Field Summary
Fields inherited from class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
logger, PAGE_NOT_FOUND_LOG_CATEGORY, pageNotFoundLogger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ResponseEntity<Object>
handleConflict
(RuntimeException ex, WebRequest request) Methods inherited from class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
createProblemDetail, createResponseEntity, getMessageSource, handleAsyncRequestTimeoutException, handleBindException, handleConversionNotSupported, handleErrorResponseException, handleException, handleExceptionInternal, handleHandlerMethodValidationException, handleHttpMediaTypeNotAcceptable, handleHttpMediaTypeNotSupported, handleHttpMessageNotReadable, handleHttpMessageNotWritable, handleHttpRequestMethodNotSupported, handleMaxUploadSizeExceededException, handleMethodArgumentNotValid, handleMethodValidationException, handleMissingPathVariable, handleMissingServletRequestParameter, handleMissingServletRequestPart, handleNoHandlerFoundException, handleNoResourceFoundException, handleServletRequestBindingException, handleTypeMismatch, setMessageSource
-
Constructor Details
-
ErrorController
public ErrorController()
-
-
Method Details
-
handleConflict
@ExceptionHandler({java.lang.Exception.class,java.lang.RuntimeException.class}) @ResponseStatus(INTERNAL_SERVER_ERROR) protected ResponseEntity<Object> handleConflict(RuntimeException ex, WebRequest request)
-