# AlreadyInPreGameModeException > Thrown when attempting to set the game state to PRE_GAME when already in pre-game mode. `gg.lode.observerapi.api.exception` --- ## Signature ```java public class AlreadyInPreGameModeException extends Exception ``` ## Extends - `Exception` --- ## Default Message `"You are already in pre-game mode!"` --- ## Related Pages - [[IObserverAPI]] - [[GameState]]