Class ErrorHandler
Basic interface for SAX error handlers.
If you create an object that implements this interface, then register
the object with your XMLReader, the parser will call the methods in your
object to report all warnings and errors. There are three levels of
errors available: warnings, (possibly) recoverable errors, and
unrecoverable errors. All methods take a SAXParseException as the only
parameter.
|
error(self,
exception)
Handle a recoverable error. |
|
|
|
fatalError(self,
exception)
Handle a non-recoverable error. |
|
|
|
warning(self,
exception)
Handle a warning. |
|
|