diff --git a/src/main/java/page/clab/api/global/handler/GlobalExceptionHandler.java b/src/main/java/page/clab/api/global/handler/GlobalExceptionHandler.java index 4122a6a64..c6172db15 100644 --- a/src/main/java/page/clab/api/global/handler/GlobalExceptionHandler.java +++ b/src/main/java/page/clab/api/global/handler/GlobalExceptionHandler.java @@ -112,7 +112,6 @@ public ErrorResponse badRequestException(HttpServletResponse response @ExceptionHandler({ AuthenticationInfoNotFoundException.class, UnAuthorizeException.class, - AccessDeniedException.class, LoginFailedException.class, MemberLockedException.class, BadCredentialsException.class, @@ -128,6 +127,7 @@ public ApiResponse unAuthorizeException(HttpServletResponse response, Exce } @ExceptionHandler({ + AccessDeniedException.class, PermissionDeniedException.class, InvalidBorrowerException.class, })