com.protomatter.util
Class ChainedException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.protomatter.util.ChainedException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- SyslogInitException
- public class ChainedException
- extends java.lang.Exception
An 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 |
ChainedException
public ChainedException(java.lang.String message)
ChainedException
public ChainedException(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