|
MDi JLib 1.7.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.microdeveloper.util.exception.StackTrace
public class StackTrace
StackTrace converts an exceptions StackTrace to other formats for output. Because it can convert to a stack trace to a String or send it to other output streams, it can be used in multiple sitations for easy output to web pages, files, etc.
Created Feb 26, 2006, 08:25:03 PM
| Constructor Summary | |
|---|---|
protected |
StackTrace()
|
| Method Summary | |
|---|---|
static void |
printException(Exception exception,
OutputStream stream)
Print the exception's stack trace to an OutputStream. |
static void |
printException(Exception exception,
Writer stream)
Prints the exception to a Writer stream. |
static String |
toString(Throwable exception)
Convert an exceptions stack trace to a String. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected StackTrace()
| Method Detail |
|---|
public static String toString(Throwable exception)
exception - the exception to print
public static void printException(Exception exception,
OutputStream stream)
OutputStream.
exception - the exception to printstream - the OutputStream to use
public static void printException(Exception exception,
Writer stream)
Writer stream.
exception - the exception to printstream - the Writer to use
|
MDi JLib 1.7.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||