From 26841c4ac1736d4c9e96bb6e398d013019123d88 Mon Sep 17 00:00:00 2001 From: limehee Date: Fri, 17 May 2024 23:11:01 +0900 Subject: [PATCH] =?UTF-8?q?refactor(Exception):=20NumberFormatException?= =?UTF-8?q?=EA=B0=80=20=EB=B0=9C=EC=83=9D=ED=95=9C=20=EA=B2=BD=EC=9A=B0=20?= =?UTF-8?q?BadRequest=EB=A1=9C=20=EC=B2=98=EB=A6=AC=ED=95=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../page/clab/api/global/handler/GlobalExceptionHandler.java | 1 + 1 file changed, 1 insertion(+) 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 662b93210..a28fddde5 100644 --- a/src/main/java/page/clab/api/global/handler/GlobalExceptionHandler.java +++ b/src/main/java/page/clab/api/global/handler/GlobalExceptionHandler.java @@ -87,6 +87,7 @@ public class GlobalExceptionHandler { HttpMessageNotReadableException.class, MethodArgumentTypeMismatchException.class, IllegalAccessException.class, + NumberFormatException.class, }) public ErrorResponse badRequestException(HttpServletResponse response, Exception e) { response.setStatus(HttpServletResponse.SC_OK);