diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/luxons/sevenwonders/game/Lobby.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/org/luxons/sevenwonders/game/Lobby.java b/src/main/java/org/luxons/sevenwonders/game/Lobby.java index 35f72f0f..b205f269 100644 --- a/src/main/java/org/luxons/sevenwonders/game/Lobby.java +++ b/src/main/java/org/luxons/sevenwonders/game/Lobby.java @@ -90,16 +90,16 @@ public class Lobby { return players.stream().anyMatch(p -> p.getUserName().equals(userName)); } - private static class GameAlreadyStartedException extends IllegalStateException { + static class GameAlreadyStartedException extends IllegalStateException { } - private static class PlayerOverflowException extends IllegalStateException { + static class PlayerOverflowException extends IllegalStateException { } - private static class PlayerUnderflowException extends IllegalStateException { + static class PlayerUnderflowException extends IllegalStateException { } - private static class PlayerNameAlreadyUsedException extends UniqueIdAlreadyUsedException { + static class PlayerNameAlreadyUsedException extends UniqueIdAlreadyUsedException { PlayerNameAlreadyUsedException(String name) { super(name); } |