|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.aris.actionservlet.ErrorReport
public class ErrorReport
A class to simplify error reporting.
Constructor Summary | |
---|---|
ErrorReport()
Creates a new instance of errorReport |
Method Summary | |
---|---|
static void |
report(java.io.PrintWriter writer,
java.lang.Throwable e)
Writes the stacktrace of an exception to printwriter. |
static java.lang.String |
reportStr(java.lang.Throwable e)
Creates a string with the stacktrace of an exception. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ErrorReport()
Method Detail |
---|
public static java.lang.String reportStr(java.lang.Throwable e)
e
- The exception that has been thrown.
public static void report(java.io.PrintWriter writer, java.lang.Throwable e)
writer
- The PrintWriter where the output is writen to.e
- The exception thrown.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |