This repository has been archived by the owner on May 19, 2024. It is now read-only.
-
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
ca13952
commit 40be553
Showing
75 changed files
with
505 additions
and
492 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
...ion/src/main/kotlin/com/studentcenter/weave/application/common/exception/AuthException.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,21 @@ | ||
package com.studentcenter.weave.application.common.exception | ||
|
||
import com.studentcenter.weave.support.common.exception.CustomException | ||
|
||
sealed class AuthException( | ||
codeNumber: Int, | ||
message: String, | ||
) : CustomException(CODE_PREFIX, codeNumber, message) { | ||
|
||
class RefreshTokenNotFound(message: String = "") : | ||
AuthException(codeNumber = 1, message = message) | ||
|
||
class UserNotAuthenticated(message: String = "인증되지 않은 사용자 입니다") : | ||
AuthException(codeNumber = 2, message = message) | ||
|
||
companion object { | ||
const val CODE_PREFIX = "AUTH" | ||
} | ||
|
||
|
||
} |
8 changes: 0 additions & 8 deletions
8
...src/main/kotlin/com/studentcenter/weave/application/common/exception/AuthExceptionType.kt
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
.../main/kotlin/com/studentcenter/weave/application/common/exception/MeetingExceptionType.kt
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...n/kotlin/com/studentcenter/weave/application/common/exception/MeetingTeamExceptionType.kt
This file was deleted.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
...n/com/studentcenter/weave/application/common/exception/UniversityVerificationException.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,27 @@ | ||
package com.studentcenter.weave.application.common.exception | ||
|
||
import com.studentcenter.weave.support.common.exception.CustomException | ||
|
||
|
||
sealed class UniversityVerificationException( | ||
codeNumber: Int, | ||
message: String, | ||
) : CustomException(CODE_PREFIX, codeNumber, message) { | ||
|
||
class VerificationInformationNotFound(message: String = "유저의 인증 요청을 찾을 수 없습니다.") : | ||
UniversityVerificationException(codeNumber = 1, message = message) | ||
|
||
class InvalidVerificationInformation(message: String = "인증 정보가 일치하지 않습니다.") : | ||
UniversityVerificationException(codeNumber = 2, message = message) | ||
|
||
class AlreadyVerifiedEmail(message: String = "이미 인증된 이메일입니다.") : | ||
UniversityVerificationException(codeNumber = 3, message = message) | ||
|
||
class AlreadyVerifiedUser(message: String = "이미 인증된 유저입니다.") : | ||
UniversityVerificationException(codeNumber = 4, message = message) | ||
|
||
companion object { | ||
const val CODE_PREFIX = "UNIV_VERIFICATION" | ||
} | ||
|
||
} |
10 changes: 0 additions & 10 deletions
10
...m/studentcenter/weave/application/common/exception/UniversityVerificationExceptionType.kt
This file was deleted.
Oops, something went wrong.
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.