-
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
8 changed files
with
76 additions
and
14 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
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
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
14 changes: 14 additions & 0 deletions
14
src/main/java/kr/co/conceptbe/notification_setting/exception/InvalidBranchException.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,14 @@ | ||
package kr.co.conceptbe.notification_setting.exception; | ||
|
||
import static org.springframework.http.HttpStatus.BAD_REQUEST; | ||
|
||
import kr.co.conceptbe.common.exception.ConceptBeException; | ||
import kr.co.conceptbe.common.exception.ErrorCode; | ||
|
||
public class InvalidBranchException extends ConceptBeException { | ||
|
||
public InvalidBranchException() { | ||
super(new ErrorCode(BAD_REQUEST, "1개 이상 10개 이하 선택해야합니다.")); | ||
} | ||
|
||
} |
14 changes: 14 additions & 0 deletions
14
src/main/java/kr/co/conceptbe/notification_setting/exception/InvalidPurposeException.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,14 @@ | ||
package kr.co.conceptbe.notification_setting.exception; | ||
|
||
import static org.springframework.http.HttpStatus.BAD_REQUEST; | ||
|
||
import kr.co.conceptbe.common.exception.ConceptBeException; | ||
import kr.co.conceptbe.common.exception.ErrorCode; | ||
|
||
public class InvalidPurposeException extends ConceptBeException { | ||
|
||
public InvalidPurposeException() { | ||
super(new ErrorCode(BAD_REQUEST, "1개 이상 선택해야합니다.")); | ||
} | ||
|
||
} |