com.jme.system
Class JmeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.jme.system.JmeException
All Implemented Interfaces:
java.io.Serializable

public class JmeException
extends java.lang.RuntimeException

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

Version:
$Id: JmeException.java 4131 2009-03-19 20:15:28Z blaine.dev $
Author:
Mark Powell
See Also:
Serialized Form

Constructor Summary
JmeException()
          Default constructor creates a new JmeException with out any description of what caused the exception.
JmeException(java.lang.String desc)
          Constructor creates a new JmeException with a description of the exception that will be displayed when it's thrown.
JmeException(java.lang.String desc, java.lang.Throwable cause)
          Constructor creates a new JmeException with a description of the exception that will be displayed when it's thrown and the cause of this exception.
JmeException(java.lang.Throwable cause)
          Constructor creates a new JmeException with the cause of this exception.
 
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

JmeException

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


JmeException

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

Parameters:
desc - the description of this exception.

JmeException

public JmeException(java.lang.Throwable cause)
Constructor creates a new JmeException with the cause of this exception.

Parameters:
cause - the cause of this exception.

JmeException

public JmeException(java.lang.String desc,
                    java.lang.Throwable cause)
Constructor creates a new JmeException with a description of the exception that will be displayed when it's thrown and the cause of this exception.

Parameters:
desc - the description of this exception.
cause - the cause of this exception