org.apache.commons.scaffold.lang
Class ChainedException

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

public class ChainedException
extends Exception

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

Version:
$Revision: 155464 $ $Date: 2005-02-26 13:26:54 +0000 (Sat, 26 Feb 2005) $
Author:
Brian Geotz
See Also:
Serialized Form

Constructor Summary
ChainedException()
           
ChainedException(String message)
           
ChainedException(String message, Throwable cause)
           
ChainedException(Throwable cause)
           
 
Method Summary
 Throwable getCause()
           
 String getCauseMessage()
           
 void getMessage(StringBuffer sb)
           
 boolean isCause()
           
 void printStackTrace()
           
 void printStackTrace(PrintStream ps)
           
 void printStackTrace(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(String message)

ChainedException

public ChainedException(String message,
                        Throwable cause)

ChainedException

public ChainedException(Throwable cause)
Method Detail

getCause

public Throwable getCause()
Overrides:
getCause in class Throwable

isCause

public boolean isCause()

getCauseMessage

public String getCauseMessage()

getMessage

public void getMessage(StringBuffer sb)

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream ps)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintWriter pw)
Overrides:
printStackTrace in class Throwable


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.