|
Compoze Software, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.compoze.util.NestedRuntimeException
This class is a runtime exception that wraps another exception. Any nested
exception traces are included when the stack trace is printed. Contrast this
with NestedException, which is a similar exception but checked.
NestedException,
Serialized Form| Constructor Summary | |
NestedRuntimeException()
Constructor. |
|
NestedRuntimeException(java.lang.Exception e)
Constructor. |
|
NestedRuntimeException(java.lang.Exception e,
java.lang.String sMessage)
Constructor. |
|
NestedRuntimeException(java.lang.String sMessage)
Constructor. |
|
NestedRuntimeException(java.lang.Throwable t)
Constructor. |
|
NestedRuntimeException(java.lang.Throwable t,
java.lang.String sMessage)
Constructor. |
|
| Method Summary | |
java.lang.Throwable |
getNestedRuntimeException()
Get the nested exception. |
void |
printStackTrace()
Print stack trace of this exception and the underlying exception if available. |
void |
printStackTrace(java.io.PrintStream printStream)
Print stack trace of this exception and the underlying exception if available. |
void |
printStackTrace(java.io.PrintWriter writer)
Print stack trace of this exception and the underlying exception if available. |
java.lang.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 NestedRuntimeException()
public NestedRuntimeException(java.lang.String sMessage)
sMessage - a detail message for the exceptionpublic NestedRuntimeException(java.lang.Exception e)
e - the underlying exception
public NestedRuntimeException(java.lang.Exception e,
java.lang.String sMessage)
e - the underlying exceptionsMessage - a detail message for the exceptionpublic NestedRuntimeException(java.lang.Throwable t)
t - the underlying throwable
public NestedRuntimeException(java.lang.Throwable t,
java.lang.String sMessage)
t - the underlying throwablesMessage - a detail message for the exception| Method Detail |
public java.lang.Throwable getNestedRuntimeException()
public void printStackTrace()
public void printStackTrace(java.io.PrintWriter writer)
writer - the writer to print topublic void printStackTrace(java.io.PrintStream printStream)
printStream - the print stream to print topublic java.lang.String toString()
|
Compoze Software, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||