|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectHtmlExceptionFormatter
public class HtmlExceptionFormatter
Format a Throwable
so that it displays well in HTML.
Constructor Summary | |
---|---|
HtmlExceptionFormatter()
|
Method Summary | |
---|---|
static String |
format(String message,
Throwable t,
boolean includeStackTrace)
Format an exception into XHTML. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HtmlExceptionFormatter()
Method Detail |
---|
public static String format(String message, Throwable t, boolean includeStackTrace)
includeStackTrace
message
- the message to include with the formatted exception. This is in addition to the message in the stack trace.t
- a Throwable exception to formatincludeStackTrace
- a boolean that determines whether to include the stack trace in the formatted output
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |