|
Fido Alpha 3.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.Writer | +--java.io.PrintWriter | +--fido.util.HtmlExceptionWriter
Writes an exception stack trace to a Writer stream and formats it for displaying with an HTML browser. The first line, containing the exception name and message, is removed. Each line afterwards is appended a <BR> tag.
Field Summary |
Fields inherited from class java.io.PrintWriter |
out |
Fields inherited from class java.io.Writer |
lock |
Constructor Summary | |
HtmlExceptionWriter(java.io.Writer out)
Creates a new HtmlExeptionWriter instance using out as the underlying stream. |
Method Summary | |
void |
println(java.lang.Object o)
Writes an object to the output stream. |
void |
println(java.lang.String str)
Prints a string object to the underlying stream, plus appends a <BR> to the end for a line break on the page. |
Methods inherited from class java.io.PrintWriter |
checkError, close, flush, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, setError, write, write, write, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HtmlExceptionWriter(java.io.Writer out)
out
- A character output stream.Method Detail |
public void println(java.lang.Object o)
Objects of type Throwable are ignored to remove the first line of exception stack traces. The Fido system prints the first line with html markup around the exception name which links it to the help system. When an exception occurs, the user can click on the exception name and get context sensitive help on the error.
println
in class java.io.PrintWriter
o
- Object to print to the underlying streampublic void println(java.lang.String str)
println
in class java.io.PrintWriter
str
- String to print.
|
Fido Alpha 3.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |