Protomatter Software v1.1.7

com.protomatter.util
Class ChainedRuntimeException

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

public class ChainedRuntimeException
extends java.lang.RuntimeException

A runtime exception which chains another exception.

See Also:
Serialized Form

Constructor Summary
ChainedRuntimeException(java.lang.String message)
           
ChainedRuntimeException(java.lang.String message, java.lang.Throwable nextException)
           
 
Method Summary
 java.lang.Throwable getNextException()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream ps)
           
 void printStackTrace(java.io.PrintWriter pw)
           
 
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

ChainedRuntimeException

public ChainedRuntimeException(java.lang.String message)

ChainedRuntimeException

public ChainedRuntimeException(java.lang.String message,
                               java.lang.Throwable nextException)
Method Detail

getNextException

public java.lang.Throwable getNextException()

printStackTrace

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

printStackTrace

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

printStackTrace

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

Protomatter Software v1.1.7
Copyright 1998-2002 Nate Sammons

Protomatter Software v1.1.7 http://protomatter.sourceforge.net/1.1.7