|
||||||||||
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
vooga.gameEngine.exception.VOOGAEngineException
vooga.gameEngine.exception.GameInstantiationException
public class GameInstantiationException
An exception indicating that a specified type of AbstractGame
was unable to be created.
Constructor Summary | |
---|---|
GameInstantiationException(java.lang.Class<? extends AbstractGame> gameClass)
|
|
GameInstantiationException(java.lang.Class<? extends AbstractGame> gameClass,
java.lang.String reason)
|
Method Summary |
---|
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 GameInstantiationException(java.lang.Class<? extends AbstractGame> gameClass)
gameClass
- Class that could not be instantiatedpublic GameInstantiationException(java.lang.Class<? extends AbstractGame> gameClass, java.lang.String reason)
gameClass
- Class that could not be instantiatedreason
- Optional message providing a reason for the exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |