-
Notifications
You must be signed in to change notification settings - Fork 3
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
c2305dd
commit 7b8bbf6
Showing
7 changed files
with
49 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
10 changes: 10 additions & 0 deletions
10
...nd/src/main/java/com/isp/backend/global/exception/common/AccessTokenInvalidException.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,10 @@ | ||
package com.isp.backend.global.exception.common; | ||
|
||
import com.isp.backend.global.exception.CustomException; | ||
import com.isp.backend.global.exception.ErrorCode; | ||
|
||
public class AccessTokenInvalidException extends CustomException { | ||
public AccessTokenInvalidException() { | ||
super(ErrorCode.ACCESS_TOKEN_IS_INVALID); | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
.../src/main/java/com/isp/backend/global/exception/common/AuthenticationFailedException.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,10 @@ | ||
package com.isp.backend.global.exception.common; | ||
|
||
import com.isp.backend.global.exception.CustomException; | ||
import com.isp.backend.global.exception.ErrorCode; | ||
|
||
public class AuthenticationFailedException extends CustomException { | ||
|
||
public AuthenticationFailedException() {super(ErrorCode.AUTHENTICATION_FAILED);} | ||
|
||
} |
13 changes: 13 additions & 0 deletions
13
...nd/src/main/java/com/isp/backend/global/exception/common/MemberNotActivatedException.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,13 @@ | ||
package com.isp.backend.global.exception.common; | ||
|
||
import com.isp.backend.global.exception.CustomException; | ||
import com.isp.backend.global.exception.ErrorCode; | ||
|
||
public class MemberNotActivatedException extends CustomException { | ||
|
||
public MemberNotActivatedException() { | ||
super(ErrorCode.MEMBER_NOT_ACTIVATED); | ||
} | ||
|
||
} | ||
|
13 changes: 13 additions & 0 deletions
13
backend/src/main/java/com/isp/backend/global/exception/common/MemberNotFoundException.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,13 @@ | ||
package com.isp.backend.global.exception.common; | ||
|
||
import com.isp.backend.global.exception.CustomException; | ||
import com.isp.backend.global.exception.ErrorCode; | ||
|
||
public class MemberNotFoundException extends CustomException { | ||
|
||
public MemberNotFoundException() { | ||
super(ErrorCode.MEMBER_NOT_FOUND); | ||
} | ||
|
||
} | ||
|
11 changes: 0 additions & 11 deletions
11
.../src/main/java/com/isp/backend/global/exception/member/AuthenticationFailedException.java
This file was deleted.
Oops, something went wrong.