|
j3d.org Code | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.j3d.util.SAXErrorHandler
public class SAXErrorHandler
Common convenience implementation of the SAX ErrorHandler interface.
Provides marginally better error handling that prints to the nominated output stream. If no stream is provided, it prints to stdout.
| Constructor Summary | |
|---|---|
SAXErrorHandler()
Create a new error handler that prints to the standard System.out. |
|
SAXErrorHandler(java.io.PrintStream out)
Create an error handler that uses the given output stream for writing debugging messages. |
|
| Method Summary | |
|---|---|
void |
error(org.xml.sax.SAXParseException spe)
Process a non-fatal error exception. |
void |
fatalError(org.xml.sax.SAXParseException spe)
Process a non-fatal error exception. |
void |
warning(org.xml.sax.SAXParseException spe)
Process a warning exception. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SAXErrorHandler()
public SAXErrorHandler(java.io.PrintStream out)
| Method Detail |
|---|
public void warning(org.xml.sax.SAXParseException spe)
throws org.xml.sax.SAXException
warning in interface org.xml.sax.ErrorHandlerspe - The exception to be processed
org.xml.sax.SAXException - Never thrown
public void error(org.xml.sax.SAXParseException spe)
throws org.xml.sax.SAXException
error in interface org.xml.sax.ErrorHandlerspe - The exception to be processed
org.xml.sax.SAXException - A wrapped version of the original exception
public void fatalError(org.xml.sax.SAXParseException spe)
throws org.xml.sax.SAXException
fatalError in interface org.xml.sax.ErrorHandlerspe - The exception to be processed
org.xml.sax.SAXException - A wrapped version of the original exception
|
j3d.org Code | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||