gnu.beanfactory
Class EncapsulatedRuntimeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--gnu.beanfactory.EncapsulatedRuntimeException
- All Implemented Interfaces:
- java.io.Serializable
- public class EncapsulatedRuntimeException
- extends java.lang.RuntimeException
Piggyback a checked exception on a RuntimException. Please note that
this exception has a legitimate use, but should not be abused.
- See Also:
- Serialized Form
| 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 |
EncapsulatedRuntimeException
public EncapsulatedRuntimeException(java.lang.Throwable t)
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