net.sf.swan.util
Class ChainableException

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

public abstract class ChainableException
extends java.lang.Exception

Utility base class for Exceptions that support chaining.

See Also:
Serialized Form

Constructor Summary
protected ChainableException(java.lang.String s)
           
protected ChainableException(java.lang.String s, java.lang.Throwable e)
           
protected ChainableException(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

ChainableException

protected ChainableException(java.lang.Throwable e)

ChainableException

protected ChainableException(java.lang.String s)

ChainableException

protected ChainableException(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