org.blackbox.shell
Class BBX_Exception

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.blackbox.shell.BBX_Exception
All Implemented Interfaces:
java.io.Serializable

public final class BBX_Exception
extends java.lang.RuntimeException

Root of all package Exception

Version:
1.0
Author:
Stephane Declere, INRIA, Helix
See Also:
Serialized Form

Constructor Summary
BBX_Exception()
          Constructs a bbx exception with no descriptive information.
BBX_Exception(java.lang.String msg)
          Constructs an exception with the given descriptive message.
BBX_Exception(java.lang.String msg, java.lang.Throwable cause)
          Constructs an exception with the given message and exception as a root cause.
BBX_Exception(java.lang.Throwable cause)
          Constructs an exception with the given exception as a root cause.
 
Method Summary
 java.lang.Throwable getException()
          Returns the nested exception.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BBX_Exception

public BBX_Exception()
Constructs a bbx exception with no descriptive information.


BBX_Exception

public BBX_Exception(java.lang.String msg)
Constructs an exception with the given descriptive message.

Parameters:
msg - Description of or information about the exception.

BBX_Exception

public BBX_Exception(java.lang.String msg,
                     java.lang.Throwable cause)
Constructs an exception with the given message and exception as a root cause.

Parameters:
msg - Description of or information about the exception.
cause - Throwable that might have cause this one.

BBX_Exception

public BBX_Exception(java.lang.Throwable cause)
Constructs an exception with the given exception as a root cause.

Parameters:
cause - Exception that might have caused this one.
Method Detail

getException

public java.lang.Throwable getException()
Returns the nested exception.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable