-
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.
Merge pull request #85 from study-hub-inu/fix/SH-313-major-post
[Fix] : 학과별 검색 조회 수정
- Loading branch information
Showing
4 changed files
with
37 additions
and
2 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
24 changes: 24 additions & 0 deletions
24
...main/java/kr/co/studyhubinu/studyhubserver/exception/user/MajorTypeNotFoundException.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,24 @@ | ||
package kr.co.studyhubinu.studyhubserver.exception.user; | ||
|
||
import kr.co.studyhubinu.studyhubserver.exception.StatusType; | ||
import kr.co.studyhubinu.studyhubserver.exception.common.CustomException; | ||
|
||
public class MajorTypeNotFoundException extends CustomException { | ||
private final StatusType status; | ||
private static final String message = "전공 타입을 찾을 수 없습니다"; | ||
|
||
public MajorTypeNotFoundException() { | ||
super(message); | ||
this.status = StatusType.MAJOR_TYPE_NOT_FOUND; | ||
} | ||
|
||
@Override | ||
public StatusType getStatus() { | ||
return status; | ||
} | ||
|
||
@Override | ||
public String getMessage() { | ||
return message; | ||
} | ||
} |
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