-
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
1 parent
194e9b8
commit 66949a1
Showing
7 changed files
with
90 additions
and
3 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
18 changes: 18 additions & 0 deletions
18
moodoodle-common/src/main/java/zzangdol/exception/custom/CategoryAccessDeniedException.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,18 @@ | ||
package zzangdol.exception.custom; | ||
|
||
import zzangdol.exception.GeneralException; | ||
import zzangdol.response.status.ErrorStatus; | ||
|
||
public class CategoryAccessDeniedException extends GeneralException { | ||
|
||
public static final GeneralException EXCEPTION = new CategoryAccessDeniedException(); | ||
|
||
public CategoryAccessDeniedException() { | ||
super(ErrorStatus.CATEGORY_ACCESS_DENIED); | ||
} | ||
|
||
public CategoryAccessDeniedException(ErrorStatus errorStatus) { | ||
super(errorStatus); | ||
} | ||
|
||
} |
18 changes: 18 additions & 0 deletions
18
...-common/src/main/java/zzangdol/exception/custom/DefaultCategoryAccessDeniedException.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,18 @@ | ||
package zzangdol.exception.custom; | ||
|
||
import zzangdol.exception.GeneralException; | ||
import zzangdol.response.status.ErrorStatus; | ||
|
||
public class DefaultCategoryAccessDeniedException extends GeneralException { | ||
|
||
public static final GeneralException EXCEPTION = new DefaultCategoryAccessDeniedException(); | ||
|
||
public DefaultCategoryAccessDeniedException() { | ||
super(ErrorStatus.DEFAULT_CATEGORY_ACCESS_DENIED); | ||
} | ||
|
||
public DefaultCategoryAccessDeniedException(ErrorStatus errorStatus) { | ||
super(errorStatus); | ||
} | ||
|
||
} |
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