-
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.
- 같은 북마크라면 던지는 예외를 SameBookmarkException으로 변경 - 북마크가 존재하지 않으면 던지는 예외를 BookmarkNotFoundException로 변경 - 권한이 충족되지 않은 경우에 NoPermissionException을 던지도록 변경 - moveBookmarkList에서 folder에 존재하는 북마크의 개수를 줄이는 메소드 refactor - 동일한 공유폴더로 이동하는 게 아닐 떄 NotSameRootFolderException을 던지도록 변경
- Loading branch information
Showing
3 changed files
with
29 additions
and
15 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
6 changes: 6 additions & 0 deletions
6
src/main/kotlin/com/yapp/web2/exception/custom/NoPermissionException.kt
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,6 @@ | ||
package com.yapp.web2.exception.custom | ||
|
||
import com.yapp.web2.exception.BusinessException | ||
import com.yapp.web2.util.ExceptionMessage | ||
|
||
class NoPermissionException : BusinessException(ExceptionMessage.NO_PERMISSION) |
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