com.retek.commons.util
Class ChainedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.retek.commons.util.ChainedException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FixedWidthFormatterException, SystemException, XmlBuilderException

public abstract class ChainedException
extends java.lang.Exception

Root exception for all system exceptions. Has utilites to deal with wrapping exceptions.

Retek Inc. Copyright (c) 2003

See Also:
Serialized Form

Constructor Summary
ChainedException(java.lang.String message)
           
ChainedException(java.lang.String message, java.lang.Throwable t)
           
ChainedException(java.lang.Throwable t)
           
 
Method Summary
 java.lang.Throwable getCause()
           
 java.lang.String getChainedMessage()
          Return the text of this exception.
 java.lang.String getMessage()
          Return the text of just this exception (not that of the root cause exceptions) (if any).
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter w)
           
 void setCause(java.lang.Throwable cause)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, 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(java.lang.String message)

ChainedException

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

ChainedException

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

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(java.io.PrintStream s)

printStackTrace

public void printStackTrace(java.io.PrintWriter w)

getMessage

public java.lang.String getMessage()
Return the text of just this exception (not that of the root cause exceptions) (if any).


getChainedMessage

public java.lang.String getChainedMessage()
Return the text of this exception.

Returns:
This exception's message text, along with that of the root cause (if any).

getCause

public java.lang.Throwable getCause()

setCause

public void setCause(java.lang.Throwable cause)


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25