public class ExceptionDumper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ExceptionDumper() |
Modifier and Type | Method and Description |
---|---|
static void |
dumpExceptionInfo(java.io.OutputStream out,
java.lang.Throwable ex)
This method writes the exception information to output stream and flushes without closing.
|
static void |
dumpExceptionInfo(java.io.Writer writer2,
java.lang.Throwable ex)
This method writes the exception information to a PrintWriter and flushes without closing.
|
static java.lang.String |
dumpExceptionInfoToString(java.lang.Throwable ex)
This method dumps an exception into a string
|
public static final java.lang.String COPYRIGHT
public static void dumpExceptionInfo(java.io.OutputStream out, java.lang.Throwable ex)
out
- The output stream to send the exception dumpex
- The exception to dumppublic static void dumpExceptionInfo(java.io.Writer writer2, java.lang.Throwable ex)
writer2
- The writer to send the exception dumpex
- The exception to dumppublic static java.lang.String dumpExceptionInfoToString(java.lang.Throwable ex)
ex
- The exception to dump