|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
vooga.gameEngine.exception.VOOGAEngineException
vooga.gameEngine.exception.IllegalNumberOfPlayersException
public class IllegalNumberOfPlayersException
Exception to be thrown when an AbstractGame
is attempted to be
played with an invalid number of players.
Constructor Summary | |
---|---|
IllegalNumberOfPlayersException(int numPlayers,
java.lang.Class<? extends AbstractGame> gameClass)
|
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IllegalNumberOfPlayersException(int numPlayers, java.lang.Class<? extends AbstractGame> gameClass)
numPlayers
- the number of players attempted to be usedgameClass
- the type of game involved
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |