|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.web3d.x3d.jaxp.X3DErrorHandler
public class X3DErrorHandler
Adapter implementation of the SAX ErrorHandler interface that communicates with our X3D ErrorReporter interface.
Provides marginally better error handling that prints to the nominated output stream. If no stream is provided, it prints to stdout.
| Constructor Summary | |
|---|---|
X3DErrorHandler()
Create a new error handler that prints to the standard System.out. |
|
| 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 |
setErrorReporter(ErrorReporter reporter)
Register an error reporter with the manager so that any errors generated by the loading of script code can be reported in a nice, pretty fashion. |
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 X3DErrorHandler()
| 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 exceptionpublic void setErrorReporter(ErrorReporter reporter)
reporter - The instance to use or null
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||