org.apache.beehive.netui.util
Class HtmlExceptionFormatter

Object
  extended by HtmlExceptionFormatter

public class HtmlExceptionFormatter
extends Object

Format a Throwable object so that it displays well in HTML.


Constructor Summary
HtmlExceptionFormatter()
           
 
Method Summary
static String format(String message, Throwable t, boolean stackTrace)
          Format an exception into XHTML.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlExceptionFormatter

public HtmlExceptionFormatter()
Method Detail

format

public static String format(String message,
                            Throwable t,
                            boolean stackTrace)
Format an exception into XHTML. Optionally include a message and the stack trace.