|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.spy.util.NestedException
An Exception that will allow chaining of another Throwable.
| Constructor Summary | |
NestedException(String msg)
Get an instance of NestedException with a given message. |
|
NestedException(String msg,
Throwable t)
Get a NestedException with a given message and root cause throwable. |
|
| Method Summary | |
Throwable |
getCause()
Get the root cause of this problem. |
Throwable |
getRootCause()
Get the root cause of this problem. |
void |
printStackTrace()
Print the stack and the root stack (if any). |
void |
printStackTrace(PrintStream s)
Print the stack and the root stack (if any). |
void |
printStackTrace(PrintWriter s)
Print the stack and the root stack (if any). |
protected void |
setRootCause(Throwable cause)
Set the root cause of this problem. |
String |
toString()
String me. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NestedException(String msg)
public NestedException(String msg,
Throwable t)
| Method Detail |
public Throwable getRootCause()
public Throwable getCause()
protected void setRootCause(Throwable cause)
public String toString()
public void printStackTrace(PrintStream s)
public void printStackTrace(PrintWriter s)
public void printStackTrace()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||