java.lang.Object
org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
jp.ecuacion.splib.rest.advice.SplibRestExceptionHandler
- すべての実装されたインタフェース:
org.springframework.beans.factory.Aware,org.springframework.context.MessageSourceAware
@RestControllerAdvice
public class SplibRestExceptionHandler
extends org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
フィールドの概要
クラスから継承されたフィールド org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
logger, PAGE_NOT_FOUND_LOG_CATEGORY, pageNotFoundLogger -
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明org.springframework.http.ResponseEntity<?> handleHttpStatusException(HttpStatusException exception, org.springframework.web.context.request.WebRequest request) org.springframework.web.ErrorResponsehandleThrowable(Throwable exception) クラスから継承されたメソッド 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
-
コンストラクタの詳細
-
SplibRestExceptionHandler
public SplibRestExceptionHandler()
-
-
メソッドの詳細
-
handleHttpStatusException
@ExceptionHandler(HttpStatusException.class) public org.springframework.http.ResponseEntity<?> handleHttpStatusException(HttpStatusException exception, org.springframework.web.context.request.WebRequest request) -
handleThrowable
@ExceptionHandler(java.lang.Throwable.class) public org.springframework.web.ErrorResponse handleThrowable(Throwable exception)
-