From 569a77e306d04eaae625f215a8624f51c84f8bd1 Mon Sep 17 00:00:00 2001 From: dlswns2480 Date: Sat, 23 Dec 2023 03:12:04 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20=EC=BB=A4=EC=8A=A4=ED=85=80=20?= =?UTF-8?q?=EC=98=88=EC=99=B8=20=ED=85=9C=ED=94=8C=EB=A6=BF=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20-=20=EA=B8=B0=EC=A1=B4=EC=97=90=20=EA=B5=AC?= =?UTF-8?q?=ED=98=84=ED=95=9C=20=EA=B3=B5=ED=86=B5=20=EC=98=88=EC=99=B8(Co?= =?UTF-8?q?mmonException)=20=ED=81=B4=EB=9E=98=EC=8A=A4=EB=A5=BC=20?= =?UTF-8?q?=EC=83=81=EC=86=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../exception/custom/BadRequestCustomException.java | 11 +++++++++++ .../exception/custom/NotFoundCustomException.java | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 src/main/java/com/prgrms/catchtable/common/exception/custom/BadRequestCustomException.java create mode 100644 src/main/java/com/prgrms/catchtable/common/exception/custom/NotFoundCustomException.java diff --git a/src/main/java/com/prgrms/catchtable/common/exception/custom/BadRequestCustomException.java b/src/main/java/com/prgrms/catchtable/common/exception/custom/BadRequestCustomException.java new file mode 100644 index 00000000..e173a35c --- /dev/null +++ b/src/main/java/com/prgrms/catchtable/common/exception/custom/BadRequestCustomException.java @@ -0,0 +1,11 @@ +package com.prgrms.catchtable.common.exception.custom; + +import com.prgrms.catchtable.common.exception.CommonException; +import com.prgrms.catchtable.common.exception.ErrorCode; + +public class BadRequestCustomException extends CommonException { + + public BadRequestCustomException(ErrorCode errorCode) { + super(errorCode); + } +} diff --git a/src/main/java/com/prgrms/catchtable/common/exception/custom/NotFoundCustomException.java b/src/main/java/com/prgrms/catchtable/common/exception/custom/NotFoundCustomException.java new file mode 100644 index 00000000..645f0d5e --- /dev/null +++ b/src/main/java/com/prgrms/catchtable/common/exception/custom/NotFoundCustomException.java @@ -0,0 +1,11 @@ +package com.prgrms.catchtable.common.exception.custom; + +import com.prgrms.catchtable.common.exception.CommonException; +import com.prgrms.catchtable.common.exception.ErrorCode; + +public class NotFoundCustomException extends CommonException { + + public NotFoundCustomException(ErrorCode errorCode) { + super(errorCode); + } +}