org.shiftone.jrat.util
Class NestedRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.shiftone.jrat.util.NestedRuntimeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
JRatException

public class NestedRuntimeException
extends java.lang.RuntimeException

Ok.. before Java 1.4 - exceptions did not have a cause.

Author:
jeff@shiftone.org (Jeff Drost)
See Also:
Serialized Form

Constructor Summary
NestedRuntimeException(java.lang.String message)
           
NestedRuntimeException(java.lang.String message, java.lang.Throwable rootCause)
           
 
Method Summary
 java.lang.Throwable getRootCause()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter s)
           
 
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

NestedRuntimeException

public NestedRuntimeException(java.lang.String message)

NestedRuntimeException

public NestedRuntimeException(java.lang.String message,
                              java.lang.Throwable rootCause)
Method Detail

getRootCause

public java.lang.Throwable getRootCause()

printStackTrace

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

printStackTrace

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

printStackTrace

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