HtmlExceptionFormatter Class
- public class HtmlExceptionFormatter
extends Object
Format a Throwable object so that it displays well in HTML.
-
Hierarchy
-
Object
HtmlExceptionFormatter
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlExceptionFormatter
public HtmlExceptionFormatter()
format(String, Throwable, boolean) Method
public static String
format(String
message,
Throwable
t,
boolean stackTrace)
Format an exception into XHTML. Optionally include a message and the stack trace.