MlpErrorHandler Class Reference

Error handler for xerces parser. More...

#include <MlpErrorHandler.hpp>

List of all members.

Public Member Functions

 MlpErrorHandler ()
 Constructor.
void warning (const xercesc::SAXParseException &e)
 Process warnings.
void error (const xercesc::SAXParseException &e)
 Process errors.
void fatalError (const xercesc::SAXParseException &e)
 Process fatal errors.
void resetErrors ()
 Reset variables.

Detailed Description

Error handler for xerces parser.

MlpErrorHandler implements ErrorHandler needed by Xerces. Methods that are implemented are warning, error and fatalError


Constructor & Destructor Documentation

MlpErrorHandler::MlpErrorHandler (  ) 

Constructor.

Constructor


Member Function Documentation

void MlpErrorHandler::error ( const xercesc::SAXParseException &  e  ) 

Process errors.

Process errors

This member function proceses errors from xerces parser.

Exceptions:
MlpParseException Throws MLP parsing exception with error message.
void MlpErrorHandler::fatalError ( const xercesc::SAXParseException &  e  ) 

Process fatal errors.

Process fatal errors

This member function proceses fatal errors from xerces parser.

Exceptions:
MlpParseException Throws MLP parsing exception with fatal error message.
void MlpErrorHandler::resetErrors (  ) 

Reset variables.

Reset counters and other variables

This member function is called to reset error handler. This is needed by Xerces. It is not neede by MLP parser. That is why it is empty.

void MlpErrorHandler::warning ( const xercesc::SAXParseException &  e  ) 

Process warnings.

Process warnings

This member function proceses warnings from xerces parser.

Exceptions:
MlpParseException Throws MLP parsing exception with warning message.

The documentation for this class was generated from the following files:

Generated on Tue Jan 19 10:25:56 2010 for "MLP Library" by  doxygen 1.6.1