Class ErrorControllerAdvice


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

      • ErrorControllerAdvice

        public ErrorControllerAdvice()
    • Method Detail

      • 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)