com.protomatter.util
Class ChainedRuntimeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.protomatter.util.ChainedRuntimeException
- All Implemented Interfaces:
- java.io.Serializable
- public class ChainedRuntimeException
- extends java.lang.RuntimeException
A runtime exception which chains another exception.
- 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 |
ChainedRuntimeException
public ChainedRuntimeException(java.lang.String message)
ChainedRuntimeException
public ChainedRuntimeException(java.lang.String message,
java.lang.Throwable nextException)
getNextException
public java.lang.Throwable getNextException()
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