org.deken.game.exception
Class GameException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.deken.game.exception.GameException
All Implemented Interfaces:
java.io.Serializable

public class GameException
extends java.lang.RuntimeException

Title: TODO

Description: TODO

Copyright: Copyright (c) Nov 6, 2011

Version:
1.0
Author:
Gary Deken
See Also:
Serialized Form

Constructor Summary
GameException(java.lang.String message)
          FactoryException
GameException(java.lang.String message, java.lang.Throwable cause)
          FactoryException
GameException(java.lang.Throwable cause)
          FactoryException
 
Method Summary
 java.lang.String getRootCause()
          getRootCause
 
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(java.lang.String message)
FactoryException

Parameters:
message - String

GameException

public GameException(java.lang.Throwable cause)
FactoryException

Parameters:
cause - Throwable

GameException

public GameException(java.lang.String message,
                     java.lang.Throwable cause)
FactoryException

Parameters:
message - String
cause - Throwable
Method Detail

getRootCause

public java.lang.String getRootCause()
getRootCause

This returns the string value of the Exception that was thrown in the Factory.

Returns:
String