-
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
38 changed files
with
129 additions
and
103 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
12 changes: 0 additions & 12 deletions
12
app/src/main/kotlin/io/sakurasou/exception/GroupNotExistException.kt
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
app/src/main/kotlin/io/sakurasou/exception/PermissionNotExistException.kt
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
app/src/main/kotlin/io/sakurasou/exception/PrincipalNotExistException.kt
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
app/src/main/kotlin/io/sakurasou/exception/StrategyNotExistException.kt
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
app/src/main/kotlin/io/sakurasou/exception/controller/access/PrincipalNotFoundException.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,14 @@ | ||
package io.sakurasou.exception.controller.access | ||
|
||
import io.sakurasou.exception.ServiceThrowable | ||
|
||
/** | ||
* @author Shiina Kin | ||
* 2024/9/12 11:08 | ||
*/ | ||
class PrincipalNotFoundException : ServiceThrowable() { | ||
override val code: Int | ||
get() = 5001 | ||
override val message: String | ||
get() = "Principal Not Found" | ||
} |
4 changes: 3 additions & 1 deletion
4
...ou/exception/SignupNotAllowedException.kt → ...oller/access/SignupNotAllowedException.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
4 changes: 3 additions & 1 deletion
4
.../sakurasou/exception/FileSizeException.kt → ...ion/controller/param/FileSizeException.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
4 changes: 3 additions & 1 deletion
4
...xception/PagingParameterWrongException.kt → ...er/param/PagingParameterWrongException.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
4 changes: 3 additions & 1 deletion
4
...asou/exception/WrongParameterException.kt → ...ntroller/param/WrongParameterException.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
4 changes: 3 additions & 1 deletion
4
...ception/SiteNotInitializationException.kt → .../status/SiteNotInitializationException.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
4 changes: 3 additions & 1 deletion
4
...on/SiteRepeatedInitializationException.kt → ...us/SiteRepeatedInitializationException.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
4 changes: 3 additions & 1 deletion
4
.../exception/UnauthorizedAccessException.kt → ...ler/status/UnauthorizedAccessException.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
4 changes: 3 additions & 1 deletion
4
...eption/MissingNecessaryColumnException.kt → ...on/dao/MissingNecessaryColumnException.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
14 changes: 14 additions & 0 deletions
14
app/src/main/kotlin/io/sakurasou/exception/service/group/GroupNotFoundException.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,14 @@ | ||
package io.sakurasou.exception.service.group | ||
|
||
import io.sakurasou.exception.ServiceThrowable | ||
|
||
/** | ||
* @author Shiina Kin | ||
* 2024/9/24 13:59 | ||
*/ | ||
class GroupNotFoundException : ServiceThrowable() { | ||
override val code: Int | ||
get() = 4004 | ||
override val message: String | ||
get() = "Group Not Found" | ||
} |
14 changes: 14 additions & 0 deletions
14
app/src/main/kotlin/io/sakurasou/exception/service/permission/PermissionNotFoundException.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,14 @@ | ||
package io.sakurasou.exception.service.permission | ||
|
||
import io.sakurasou.exception.ServiceThrowable | ||
|
||
/** | ||
* @author ShiinaKin | ||
* 2024/9/18 17:40 | ||
*/ | ||
class PermissionNotFoundException: ServiceThrowable() { | ||
override val code: Int | ||
get() = 4004 | ||
override val message: String | ||
get() = "Permission Not Found" | ||
} |
6 changes: 4 additions & 2 deletions
6
...urasou/exception/RoleNotExistException.kt → ...ion/service/role/RoleNotFoundException.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
4 changes: 3 additions & 1 deletion
4
.../exception/ConfigTypeNotMatchException.kt → ...ce/setting/ConfigTypeNotMatchException.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
14 changes: 14 additions & 0 deletions
14
app/src/main/kotlin/io/sakurasou/exception/service/strategy/StrategyNotFoundException.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,14 @@ | ||
package io.sakurasou.exception.service.strategy | ||
|
||
import io.sakurasou.exception.ServiceThrowable | ||
|
||
/** | ||
* @author Shiina Kin | ||
* 2024/9/23 08:22 | ||
*/ | ||
class StrategyNotFoundException : ServiceThrowable() { | ||
override val code: Int | ||
get() = 4004 | ||
override val message: String | ||
get() = "Strategy Not Found" | ||
} |
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
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
Oops, something went wrong.