jme.exception
Class MonkeyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjme.exception.MonkeyException
All Implemented Interfaces:
java.io.Serializable

public class MonkeyException
extends java.lang.Exception

MonkeyException handles all exceptions that could be thrown by the MonkeySystem and should be handled in the client software. By extending Exception all functionality of the built-in exception system is kept, but by applying the Monkey name it will be easier to visualize what is causing the exception.

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

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
MonkeyException()
          Default constructor creates a new MonkeyException with out any description of what caused the exception.
MonkeyException(java.lang.String desc)
          Constructor creates a new MonkeyException 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

MonkeyException

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


MonkeyException

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

Parameters:
desc - the description of this exception.