Class ErrorControllerAdvice


  • @ControllerAdvice
    public class ErrorControllerAdvice
    extends java.lang.Object
    • Constructor Detail

      • ErrorControllerAdvice

        public ErrorControllerAdvice()
    • Method Detail

      • onException

        @ExceptionHandler(org.springframework.security.oauth2.client.ClientAuthorizationException.class)
        public reactor.core.publisher.Mono<?> onException()
      • handleException

        @ExceptionHandler(org.springframework.web.bind.support.WebExchangeBindException.class)
        public <E> org.springframework.http.ResponseEntity<CommonResponse.ApiResult<E>> handleException​(org.springframework.web.bind.support.WebExchangeBindException e)
      • handleArgumentException

        @ExceptionHandler(java.lang.IllegalArgumentException.class)
        public <E> org.springframework.http.ResponseEntity<CommonResponse.ApiResult<E>> handleArgumentException​(java.lang.IllegalArgumentException e)
      • handleAllException

        @ExceptionHandler(java.lang.Exception.class)
        public <E> org.springframework.http.ResponseEntity<CommonResponse.ApiResult<E>> handleAllException​(java.lang.Exception e)