-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
산발적인 EntityNotFoundException 정리 추후 18in,,?? message를 사용해봐도 좋을듯
- Loading branch information
Showing
9 changed files
with
61 additions
and
73 deletions.
There are no files selected for viewing
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: 0 additions & 8 deletions
8
BE/src/main/java/com/codesquad/issue/global/error/exception/CommentNotFoundException.java
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
BE/src/main/java/com/codesquad/issue/global/error/exception/IssueNotFoundException.java
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
BE/src/main/java/com/codesquad/issue/global/error/exception/LabelNotFoundException.java
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
BE/src/main/java/com/codesquad/issue/global/error/exception/MilestoneNotFoundException.java
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
BE/src/main/java/com/codesquad/issue/global/error/exception/NotFoundException.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,11 @@ | ||
package com.codesquad.issue.global.error.exception; | ||
|
||
public class NotFoundException extends ServiceRuntimeException { | ||
|
||
public NotFoundException() { | ||
} | ||
|
||
public NotFoundException(String message) { | ||
super(message); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
BE/src/main/java/com/codesquad/issue/global/error/exception/ServiceRuntimeException.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,11 @@ | ||
package com.codesquad.issue.global.error.exception; | ||
|
||
public abstract class ServiceRuntimeException extends RuntimeException { | ||
|
||
public ServiceRuntimeException() { | ||
} | ||
|
||
public ServiceRuntimeException(String message) { | ||
super(message); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
BE/src/main/java/com/codesquad/issue/global/error/exception/UnauthorizedException.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,12 @@ | ||
package com.codesquad.issue.global.error.exception; | ||
|
||
public class UnauthorizedException extends ServiceRuntimeException { | ||
|
||
public UnauthorizedException() { | ||
} | ||
|
||
|
||
public UnauthorizedException(String message) { | ||
super(message); | ||
} | ||
} |
8 changes: 0 additions & 8 deletions
8
BE/src/main/java/com/codesquad/issue/global/error/exception/UserNotFoundException.java
This file was deleted.
Oops, something went wrong.