-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BE] feat: 커스텀 예외 도입 및 GlobalExceptionHandler 처리 예외 수정 (#93)
- Loading branch information
1 parent
d6ca637
commit 3fa4555
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
11 changes: 9 additions & 2 deletions
11
backend/src/main/java/com/woowacourse/friendogly/GlobalExceptionHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
backend/src/main/java/com/woowacourse/friendogly/exception/FriendoglyException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.woowacourse.friendogly.exception; | ||
|
||
public class FriendoglyException extends RuntimeException { | ||
|
||
public FriendoglyException(String message) { | ||
super(message); | ||
} | ||
} |