org.blackbox.shell
Class BBX_ShellException

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

public class BBX_ShellException
extends java.lang.RuntimeException

Runtime's exceptions.

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

Constructor Summary
BBX_ShellException()
          Constructs a build exception with no descriptive information.
BBX_ShellException(java.lang.String msg)
          Constructs an exception with the given descriptive message.
BBX_ShellException(java.lang.String msg, java.lang.Throwable cause)
          Constructs an exception with the given message and exception as a root cause.
BBX_ShellException(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_ShellException

public BBX_ShellException()
Constructs a build exception with no descriptive information.


BBX_ShellException

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

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

BBX_ShellException

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

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

BBX_ShellException

public BBX_ShellException(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.
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