dynaop.util
Class NestedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dynaop.util.NestedException
- All Implemented Interfaces:
- java.io.Serializable
- public class NestedException
- extends java.lang.RuntimeException
Turns a nested exception into a runtime exception.
- Author:
- Bob Lee (crazybob@crazybob.org)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
wrap
public static java.lang.RuntimeException wrap(java.lang.Throwable t)
- Wrap another exeception in a RuntimeException.
toString
public java.lang.String toString()
getMessage
public java.lang.String getMessage()
printStackTrace
public void printStackTrace()
printStackTrace
public void printStackTrace(java.io.PrintStream out)
printStackTrace
public void printStackTrace(java.io.PrintWriter out)
getNested
public java.lang.Throwable getNested()