From 9d58df1ec0fd2ec4d9e707fdb286a7ab2219bedb Mon Sep 17 00:00:00 2001 From: songhyeonpk Date: Mon, 23 Jun 2025 14:00:37 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20CommonErrorCode=20->=20ErrorCode=20?= =?UTF-8?q?=EB=A1=9C=20CustomException=20=EC=83=9D=EC=84=B1=EC=9E=90=20?= =?UTF-8?q?=ED=8C=8C=EB=9D=BC=EB=AF=B8=ED=84=B0=20=ED=83=80=EC=9E=85=20?= =?UTF-8?q?=EC=88=98=EC=A0=95(#11)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ject/studytrip/global/exception/CustomException.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/ject/studytrip/global/exception/CustomException.java b/src/main/java/com/ject/studytrip/global/exception/CustomException.java index 7277726..68a830a 100644 --- a/src/main/java/com/ject/studytrip/global/exception/CustomException.java +++ b/src/main/java/com/ject/studytrip/global/exception/CustomException.java @@ -1,6 +1,5 @@ package com.ject.studytrip.global.exception; -import com.ject.studytrip.global.exception.error.CommonErrorCode; import com.ject.studytrip.global.exception.error.ErrorCode; import lombok.Getter; @@ -9,7 +8,7 @@ public class CustomException extends RuntimeException { private final ErrorCode errorCode; - public CustomException(CommonErrorCode errorCode) { + public CustomException(ErrorCode errorCode) { super(errorCode.getMessage()); this.errorCode = errorCode; }