From d4f032ad323feb1e447b954f7b2d901382434242 Mon Sep 17 00:00:00 2001 From: Daeil Choi Date: Fri, 3 Feb 2023 16:30:16 +0900 Subject: [PATCH] =?UTF-8?q?Add=20UserNotFound=20Exception=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/UserNotFoundException.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/main/java/com/example/springsecuritystudy/common/UserNotFoundException.java diff --git a/src/main/java/com/example/springsecuritystudy/common/UserNotFoundException.java b/src/main/java/com/example/springsecuritystudy/common/UserNotFoundException.java new file mode 100644 index 0000000..af9024a --- /dev/null +++ b/src/main/java/com/example/springsecuritystudy/common/UserNotFoundException.java @@ -0,0 +1,12 @@ +package com.example.springsecuritystudy.common; + +public class UserNotFoundException extends RuntimeException { + + public UserNotFoundException(String message) { + super(message); + } + + public UserNotFoundException() { + super("유저를 찾을 수 없습니다."); + } +}