|
|||||||||
| 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
public class GameRuntimeException
The GameRuntimeException provides access to the GamePlay object that is associated to the exception, so that Exception handing code can take advantage of it.
GameException,
Serialized Form| Constructor Summary | |
|---|---|
GameRuntimeException()
Creates a new GameRuntimeException object. |
|
GameRuntimeException(GamePlay game,
java.lang.String errorText)
Creates a new GameRuntimeException object. |
|
GameRuntimeException(GamePlay game,
java.lang.String errorText,
java.lang.Throwable cause)
Creates a new GameRuntimeException object. |
|
GameRuntimeException(java.lang.String text)
Creates a new GameRuntimeException object. |
|
GameRuntimeException(java.lang.String text,
java.lang.Throwable cause)
Creates a new GameRuntimeException object. |
|
| Method Summary | |
|---|---|
GamePlay |
getGame()
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 GameRuntimeException()
public GameRuntimeException(java.lang.String text)
text - DOCUMENT ME!
public GameRuntimeException(java.lang.String text,
java.lang.Throwable cause)
text - DOCUMENT ME!cause - DOCUMENT ME!
public GameRuntimeException(GamePlay game,
java.lang.String errorText)
game - DOCUMENT ME!errorText - DOCUMENT ME!
public GameRuntimeException(GamePlay game,
java.lang.String errorText,
java.lang.Throwable cause)
game - DOCUMENT ME!errorText - DOCUMENT ME!cause - DOCUMENT ME!| Method Detail |
|---|
public GamePlay getGame()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||