|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.compoze.collab.util.NestedException
public class NestedException
This class is an exception that wraps another exception. Any nested exception traces are included when the stack trace is printed.
Constructor Summary | |
---|---|
NestedException()
Constructor. |
|
NestedException(String sMessage)
Constructor. |
|
NestedException(Throwable t)
Constructor. |
|
NestedException(Throwable t,
String sMessage)
Constructor. |
Method Summary | |
---|---|
Throwable |
getNestedException()
Get the nested exception. |
String |
getStackTraceString()
Gets the stack trace as a String . |
void |
printStackTrace()
Print stack trace of this exception and the underlying exception if available. |
void |
printStackTrace(PrintStream printStream)
Print stack trace of this exception and the underlying exception if available. |
void |
printStackTrace(PrintWriter writer)
Print stack trace of this exception and the underlying exception if available. |
String |
toString()
Create a string representation of the exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, 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()
public NestedException(String sMessage)
sMessage
- a detail message for the exceptionpublic NestedException(Throwable t)
t
- the underlying throwablepublic NestedException(Throwable t, String sMessage)
t
- the underlying throwablesMessage
- a detail message for the exceptionMethod Detail |
---|
public Throwable getNestedException()
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter writer)
printStackTrace
in class Throwable
writer
- the writer to print topublic void printStackTrace(PrintStream printStream)
printStackTrace
in class Throwable
printStream
- the print stream to print topublic String getStackTraceString()
String
.
public String toString()
toString
in class Throwable
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |