From 1152ad77ac5b62bb27ff9f41ac5c956f58bfb266 Mon Sep 17 00:00:00 2001 From: PHJ Date: Thu, 30 Nov 2023 00:26:54 +0900 Subject: [PATCH] =?UTF-8?q?[SIX-HOTFIX]=20fix=20:=20EntityNotFoundExceptio?= =?UTF-8?q?n=20=EC=9D=B4=20BusinessException=20=EC=83=81=EC=86=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../exception/EntityNotFoundException.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/onedayhero-common/src/main/java/com/sixheroes/onedayherocommon/exception/EntityNotFoundException.java b/onedayhero-common/src/main/java/com/sixheroes/onedayherocommon/exception/EntityNotFoundException.java index be5b70b4..47859440 100644 --- a/onedayhero-common/src/main/java/com/sixheroes/onedayherocommon/exception/EntityNotFoundException.java +++ b/onedayhero-common/src/main/java/com/sixheroes/onedayherocommon/exception/EntityNotFoundException.java @@ -2,11 +2,11 @@ import com.sixheroes.onedayherocommon.error.ErrorCode; import lombok.Getter; -import lombok.RequiredArgsConstructor; -@RequiredArgsConstructor @Getter -public class EntityNotFoundException extends RuntimeException { +public class EntityNotFoundException extends BusinessException { - private final ErrorCode errorCode; + public EntityNotFoundException(ErrorCode errorCode) { + super(errorCode); + } }