-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[add] 기수 수상내역이 있을때 다시 추가시 에러처리 (#134)
* [add] 기수 수상내역이 있을때 다시 추가시 에러처리 (#130) * [chore] spotless 적용 * [docs] 주석 추가
- Loading branch information
Showing
4 changed files
with
30 additions
and
1 deletion.
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
12 changes: 12 additions & 0 deletions
12
src/main/java/ceos/backend/domain/awards/exception/DuplicateGeneration.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 ceos.backend.domain.awards.exception; | ||
|
||
|
||
import ceos.backend.global.error.BaseErrorException; | ||
|
||
public class DuplicateGeneration extends BaseErrorException { | ||
public static final DuplicateGeneration EXCEPTION = new DuplicateGeneration(); | ||
|
||
private DuplicateGeneration() { | ||
super(AwardsErrorCode.DUPLICATE_GENERATION); | ||
} | ||
} |
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
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