26 #ifndef __TERRALIB_XERCES_INTERNAL_ERRORHANDLER_H
27 #define __TERRALIB_XERCES_INTERNAL_ERRORHANDLER_H
37 #include <xercesc/sax/ErrorHandler.hpp>
65 void warning(
const xercesc::SAXParseException& exc);
72 void error(
const xercesc::SAXParseException& exc);
This class implements Xerces interface for error handlers.
void warning(const xercesc::SAXParseException &exc)
It receives from the parser a notification of a warning.
ErrorHandler()
Default constructor.
void error(const xercesc::SAXParseException &exc)
It receives from the parser a notification of a recoverable error.
const std::string getErrors() const
It returns a concatenation of all reported error messages.
const std::size_t getNumErros() const
It returns the number of reported errors.
const std::string & getError(std::size_t i) const
It returns the n-th error message.
~ErrorHandler()
Destructor.
std::vector< std::string > m_errors
The error messages.
void fatalError(const xercesc::SAXParseException &exc)
It receives from the parser a notification of a non-recoverable error.
Proxy configuration file for TerraView (see terraview_config.h).