Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
org::xml::sax::ErrorHandler Class Reference#include <ErrorHandler.h>
Inheritance diagram for org::xml::sax::ErrorHandler:
List of all members.
Detailed Description
Basic interface for SAX error handlers.
This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY. See http://www.saxproject.org for further information.
If a SAX application needs to implement customized error handling, it must implement this interface and then register an instance with the XML reader using the setErrorHandler method. The parser will then report all errors and warnings through this interface.
WARNING: If an application does not register an ErrorHandler, XML parsing errors will go unreported and bizarre behaviour may result.
For XML processing errors, a SAX driver must use this interface instead of throwing an exception: it is up to the application to decide whether to throw an exception for different types of errors and warnings. Note, however, that there is no requirement that the parser continue to provide useful information after a call to fatalError (in other words, a SAX driver class could catch an exception and report a fatalError).
- Since:
- SAX 1.0
- Author:
- Roger Rene Kommer (ACDK mapping)
- See also:
- org::xml::sax::XMLReader::setErrorHandler
org::xml::sax::SAXParseException
Member Function Documentation
|