gnu.beanfactory
Class EncapsulatedException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--gnu.beanfactory.BeanFactoryException
                    |
                    +--gnu.beanfactory.EncapsulatedException
All Implemented Interfaces:
java.io.Serializable

public class EncapsulatedException
extends BeanFactoryException

Thrown to encapsulate another exception.

Version:
$Id: EncapsulatedException.java,v 1.8 2001/08/28 05:04:43 rschoening Exp $
Author:
Rob
See Also:
Serialized Form

Constructor Summary
EncapsulatedException(java.lang.Throwable t)
           
 
Method Summary
 java.lang.Throwable getRootCause()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream ps)
           
 void printStackTrace(java.io.PrintWriter pw)
           
 void setRootCause(java.lang.Throwable root)
           
 
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

EncapsulatedException

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

setRootCause

public void setRootCause(java.lang.Throwable root)

getRootCause

public java.lang.Throwable getRootCause()

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