com.fruitioninc.jwc
Class ChainedException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.fruitioninc.jwc.ChainedException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
RenderException

public class ChainedException
extends java.lang.Exception

A generic exception class that features a subexception.

See Also:
Serialized Form

Constructor Summary
ChainedException()
           
ChainedException(java.lang.String message)
           
ChainedException(java.lang.String message, java.lang.Throwable subexception)
           
ChainedException(java.lang.Throwable subexception)
           
 
Method Summary
 java.lang.Throwable getSubexception()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream out)
           
 void printStackTrace(java.io.PrintWriter out)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChainedException

public ChainedException()

ChainedException

public ChainedException(java.lang.String message)

ChainedException

public ChainedException(java.lang.String message,
                        java.lang.Throwable subexception)

ChainedException

public ChainedException(java.lang.Throwable subexception)
Method Detail

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

getSubexception

public java.lang.Throwable getSubexception()