-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] startRoom API without 복면가왕 logic
- Loading branch information
Showing
7 changed files
with
99 additions
and
13 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
10 changes: 10 additions & 0 deletions
10
gg-utils/src/main/java/gg/utils/exception/party/InvaildPeopleException.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 gg.utils.exception.party; | ||
|
||
import gg.utils.exception.ErrorCode; | ||
import gg.utils.exception.custom.ForbiddenException; | ||
|
||
public class InvaildPeopleException extends ForbiddenException { | ||
public InvaildPeopleException() { | ||
super(ErrorCode.NOT_HOST.getMessage(), ErrorCode.NOT_HOST); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
gg-utils/src/main/java/gg/utils/exception/party/NotHostException.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,11 @@ | ||
package gg.utils.exception.party; | ||
|
||
import gg.utils.exception.ErrorCode; | ||
import gg.utils.exception.custom.ForbiddenException; | ||
import gg.utils.exception.custom.NotExistException; | ||
|
||
public class NotHostException extends ForbiddenException { | ||
public NotHostException() { | ||
super(ErrorCode.NOT_HOST.getMessage(), ErrorCode.NOT_HOST); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
gg-utils/src/main/java/gg/utils/exception/party/RoomNotEnoughPeopleException.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,11 @@ | ||
package gg.utils.exception.party; | ||
|
||
import gg.utils.exception.ErrorCode; | ||
import gg.utils.exception.custom.ForbiddenException; | ||
import gg.utils.exception.custom.NotExistException; | ||
|
||
public class RoomNotEnoughPeopleException extends ForbiddenException { | ||
public RoomNotEnoughPeopleException() { | ||
super(ErrorCode.ROOM_NOT_ENOUGH_PEOPLE.getMessage(), ErrorCode.ROOM_NOT_ENOUGH_PEOPLE); | ||
} | ||
} |