com.fruitioninc.jwc
Class ChainedRuntimeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.fruitioninc.jwc.ChainedRuntimeException
All Implemented Interfaces:
java.io.Serializable

public class ChainedRuntimeException
extends java.lang.RuntimeException

A generic unchecked exception class that features a subexception.

See Also:
Serialized Form

Constructor Summary
ChainedRuntimeException(java.lang.String message)
           
ChainedRuntimeException(java.lang.String message, java.lang.Throwable subexception)
           
ChainedRuntimeException(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

ChainedRuntimeException

public ChainedRuntimeException(java.lang.String message)

ChainedRuntimeException

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

ChainedRuntimeException

public ChainedRuntimeException(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()