_ErrorHandler-api:

ErrorHandler — Handles errors from the XML parser.

This module defines the ErrorHandler class.

class admit.xmlio.ErrorHandler.ErrorHandler[source]

Class for handling errors from the parser.

Parameters:None

Attributes

None  

Methods

error(ex) Method called when an error is encountered
fatalError(ex) Method called when a fata error is encountered
warning(ex) Method called when the parser issues a warning
error(ex)[source]

Method called when an error is encountered

Parameters:

ex : exception

The error that was encountered

Returns:

None

fatalError(ex)[source]

Method called when a fata error is encountered

Parameters:

ex : exception

The error encountered

Returns:

None

warning(ex)[source]

Method called when the parser issues a warning

Parameters:

ex : exception

The warning to be issued.

Returns:

None