-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
24 additions
and
5 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
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
7 changes: 7 additions & 0 deletions
7
src/main/java/leets/weeth/global/common/error/exception/custom/StudentIdExistsException.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,7 @@ | ||
package leets.weeth.global.common.error.exception.custom; | ||
|
||
import jakarta.persistence.EntityNotFoundException; | ||
|
||
public class StudentIdExistsException extends EntityNotFoundException { | ||
public StudentIdExistsException() {super("이미 가입된 학번입니다.");} | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/java/leets/weeth/global/common/error/exception/custom/TelExistsException.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,7 @@ | ||
package leets.weeth.global.common.error.exception.custom; | ||
|
||
import jakarta.persistence.EntityNotFoundException; | ||
|
||
public class TelExistsException extends EntityNotFoundException { | ||
public TelExistsException() {super("이미 가입된 전화번호 입니다.");} | ||
} |