Error handler for xerces parser. More...
#include <MlpErrorHandler.hpp>
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. |
Error handler for xerces parser.
MlpErrorHandler implements ErrorHandler needed by Xerces. Methods that are implemented are warning, error and fatalError
MlpErrorHandler::MlpErrorHandler | ( | ) |
Constructor.
Constructor
void MlpErrorHandler::error | ( | const xercesc::SAXParseException & | e | ) |
Process errors.
Process errors
This member function proceses errors from xerces parser.
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.
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.
MlpParseException | Throws MLP parsing exception with warning message. |