|
|
| WebLogic Server 7.0 Code Examples, BEA Systems, Inc. |
|
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
examples.xml.entityresolution
Class MyErrorHandler
java.lang.Object
|
+--examples.xml.entityresolution.MyErrorHandler
- All Implemented Interfaces:
- org.xml.sax.ErrorHandler
- public class MyErrorHandler
- extends java.lang.Object
- implements org.xml.sax.ErrorHandler
This class handles any errors encountered while parsing an XML document.
|
Constructor Summary |
MyErrorHandler()
Default contsructor |
MyErrorHandler(java.io.PrintWriter writer)
Constructor which takes a PrintWriter parameter to output information
to the shell from which you started the WebLogic server. |
|
Method Summary |
void |
error(org.xml.sax.SAXParseException exception)
|
void |
fatalError(org.xml.sax.SAXParseException exception)
|
void |
warning(org.xml.sax.SAXParseException exception)
|
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyErrorHandler
public MyErrorHandler()
- Default contsructor
MyErrorHandler
public MyErrorHandler(java.io.PrintWriter writer)
- Constructor which takes a PrintWriter parameter to output information
to the shell from which you started the WebLogic server.
error
public void error(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
- Specified by:
error in interface org.xml.sax.ErrorHandler
fatalError
public void fatalError(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
- Specified by:
fatalError in interface org.xml.sax.ErrorHandler
warning
public void warning(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
- Specified by:
warning in interface org.xml.sax.ErrorHandler
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.