com.antelmann.game
Class CannotPlayGameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.antelmann.game.GameRuntimeException
com.antelmann.game.CannotPlayGameException
- All Implemented Interfaces:
- Serializable
public class CannotPlayGameException
- extends GameRuntimeException
An Exception that is thrown if a Player cannot play a given
game implementation
- Author:
- Holger Antelmann
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CannotPlayGameException
public CannotPlayGameException(Player player,
GamePlay game,
String customText)
getPlayer
public Player getPlayer()
getGame
public GamePlay getGame()
- Overrides:
getGame in class GameRuntimeException
(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads