|
|||||||||
| 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
org.jscience.computing.game.GameRuntimeException
org.jscience.computing.game.CannotPlayGameException
public class CannotPlayGameException
An Exception that is thrown if a Player cannot play a given game implementation
| Constructor Summary | |
|---|---|
CannotPlayGameException(Player player,
GamePlay game,
java.lang.String customText)
Creates a new CannotPlayGameException object. |
|
| Method Summary | |
|---|---|
GamePlay |
getGame()
DOCUMENT ME! |
Player |
getPlayer()
DOCUMENT ME! |
| 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 CannotPlayGameException(Player player,
GamePlay game,
java.lang.String customText)
player - DOCUMENT ME!game - DOCUMENT ME!customText - DOCUMENT ME!| Method Detail |
|---|
public Player getPlayer()
public GamePlay getGame()
getGame in class GameRuntimeException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||