jme.exception
Class MonkeyRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjme.exception.MonkeyRuntimeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MonkeyGLException

public class MonkeyRuntimeException
extends java.lang.RuntimeException

MonkeyRuntimeException handles all exceptions that could be thrown by the MonkeySystem at runtime and shouldn't be handled in the client software. By extending RumtimeException all functionality of the built-in exception system is kept, but by applying the Monkey moniker it will be easier to visualize who is causing the exception.

Version:
1
Author:
Mark Powell
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
MonkeyRuntimeException()
          Default constructor creates a new MonkeyRuntimeException with out any description of what caused the exception.
MonkeyRuntimeException(java.lang.String desc)
          Constructor creates a new MonkeyRuntimeException with a description of the exception that will be displayed when it's thrown.
 
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

MonkeyRuntimeException

public MonkeyRuntimeException()
Default constructor creates a new MonkeyRuntimeException with out any description of what caused the exception.


MonkeyRuntimeException

public MonkeyRuntimeException(java.lang.String desc)
Constructor creates a new MonkeyRuntimeException with a description of the exception that will be displayed when it's thrown.

Parameters:
desc - the description of this exception.