net.sf.swan.util
Class ChainableRuntimeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--net.sf.swan.util.ChainableRuntimeException
All Implemented Interfaces:
java.io.Serializable

public abstract class ChainableRuntimeException
extends java.lang.RuntimeException

Utility base class for RuntimeExceptions that support chaining.

See Also:
Serialized Form

Constructor Summary
protected ChainableRuntimeException(java.lang.String s)
           
protected ChainableRuntimeException(java.lang.String s, java.lang.Throwable e)
           
protected ChainableRuntimeException(java.lang.Throwable e)
           
 
Method Summary
 java.lang.Throwable getCause()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream out)
           
 void printStackTrace(java.io.PrintWriter out)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChainableRuntimeException

protected ChainableRuntimeException(java.lang.Throwable e)

ChainableRuntimeException

protected ChainableRuntimeException(java.lang.String s)

ChainableRuntimeException

protected ChainableRuntimeException(java.lang.String s,
                                    java.lang.Throwable e)
Method Detail

getCause

public java.lang.Throwable getCause()

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream out)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter out)
Overrides:
printStackTrace in class java.lang.Throwable