HtmlExceptionFormatter Class

com.bea.wlw.netui.util
HtmlExceptionFormatter Class

public class HtmlExceptionFormatter

    extends Object

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


Hierarchy
Object
  HtmlExceptionFormatter

Constructor Summary

HtmlExceptionFormatter()

 

Method Summary

public static String
format(String message, Throwable t, boolean stackTrace)
Format an exception into XHTML.
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Constructor Detail

HtmlExceptionFormatter

public HtmlExceptionFormatter()
 

Method Detail

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.