org.apache.commons.scaffold.lang
Class ChainedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.commons.scaffold.lang.ChainedException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BaseException

public class ChainedException
extends java.lang.Exception

Mimicks new functionality in 1.4 http://www.javaworld.com/javaworld/jw-08-2001/jw-0803-exceptions.html

Version:
$Revision: 1.3 $ $Date: 2004/03/21 21:10:42 $
See Also:
Serialized Form

Constructor Summary
ChainedException()
           
ChainedException(java.lang.String message)
           
ChainedException(java.lang.String message, java.lang.Throwable cause)
           
ChainedException(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.Throwable getCause()
           
 java.lang.String getCauseMessage()
           
 void getMessage(java.lang.StringBuffer sb)
           
 boolean isCause()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream ps)
           
 void printStackTrace(java.io.PrintWriter pw)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

ChainedException

public ChainedException()

ChainedException

public ChainedException(java.lang.String message)

ChainedException

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

ChainedException

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

getCause

public java.lang.Throwable getCause()

isCause

public boolean isCause()

getCauseMessage

public java.lang.String getCauseMessage()

getMessage

public void getMessage(java.lang.StringBuffer sb)

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(java.io.PrintStream ps)

printStackTrace

public void printStackTrace(java.io.PrintWriter pw)


Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.