net.sf.colle.util
Class OuterRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bynet.sf.colle.util.OuterRuntimeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NoDefaultConfigurationException, ResponseException

public class OuterRuntimeException
extends RuntimeException

Outer exception with inner Throwable that caused the exception. Mimics chained Throwable functionality found in jdk 1.4 without having a dependency on jdk 1.4. Created: 23 Jun 2003

Version:
$Revision: 1.1 $, $Date: 2003/06/26 18:35:22 $
Author:
Dwayne Schultz
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
OuterRuntimeException()
          Constructs an exception with no inner throwable.
OuterRuntimeException(String psMessage)
          Constructs an exception with a message and no inner throwable.
OuterRuntimeException(String psMessage, Throwable pxInnerThrowable)
          Constructs an exception with a message and a throwable
OuterRuntimeException(Throwable pxInnerThrowable)
          Constructs an exception with a throwable
 
Method Summary
 Throwable getInnerThrowable()
          Gets the root cause if it is specified (may be null).
 void printStackTrace()
          Prints the stack to standard error.
 void printStackTrace(PrintStream pxStream)
          Prints the stack the print stream.
 void printStackTrace(PrintWriter pxWriter)
          Prints the stack the print writer.
 
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

OuterRuntimeException

public OuterRuntimeException()
Constructs an exception with no inner throwable.


OuterRuntimeException

public OuterRuntimeException(String psMessage)
Constructs an exception with a message and no inner throwable.


OuterRuntimeException

public OuterRuntimeException(Throwable pxInnerThrowable)
Constructs an exception with a throwable


OuterRuntimeException

public OuterRuntimeException(String psMessage,
                             Throwable pxInnerThrowable)
Constructs an exception with a message and a throwable

Method Detail

getInnerThrowable

public Throwable getInnerThrowable()
Gets the root cause if it is specified (may be null).


printStackTrace

public void printStackTrace()
Prints the stack to standard error.


printStackTrace

public void printStackTrace(PrintStream pxStream)
Prints the stack the print stream.


printStackTrace

public void printStackTrace(PrintWriter pxWriter)
Prints the stack the print writer.