Holger's
Java API

com.antelmann.game
Class GameException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.antelmann.game.GameException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PuzzleNotSolvableException

public class GameException
extends Exception

thrown when game related exceptions are raised that should be caught

Author:
Holger Antelmann
See Also:
GameRuntimeException, Serialized Form

Constructor Summary
GameException()
           
GameException(GamePlay game, String text)
           
GameException(String text)
           
 
Method Summary
 GamePlay getGame()
           
 
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()

GameException

public GameException(String text)

GameException

public GameException(GamePlay game,
                     String text)
Method Detail

getGame

public GamePlay getGame()


(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads