org.jscience.computing.game
Class GameException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jscience.computing.game.GameException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PuzzleNotSolvableException

public class GameException
extends java.lang.Exception

thrown when game related exceptions are raised that should be caught

See Also:
GameRuntimeException, Serialized Form

Constructor Summary
GameException()
          Creates a new GameException object.
GameException(GamePlay game, java.lang.String text)
          Creates a new GameException object.
GameException(java.lang.String text)
          Creates a new GameException 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

GameException

public GameException()
Creates a new GameException object.


GameException

public GameException(java.lang.String text)
Creates a new GameException object.

Parameters:
text - DOCUMENT ME!

GameException

public GameException(GamePlay game,
                     java.lang.String text)
Creates a new GameException object.

Parameters:
game - DOCUMENT ME!
text - DOCUMENT ME!
Method Detail

getGame

public GamePlay getGame()
DOCUMENT ME!

Returns:
DOCUMENT ME!