Go to the documentation of this file.
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);
117 #endif // __TERRALIB_XERCES_INTERNAL_ERRORHANDLER_H
This class implements Xerces interface for error handlers.
const std::string getErrors() const
It returns a concatenation of all reported error messages.
~ErrorHandler()
Destructor.
ErrorHandler()
Default constructor.
const std::string & getError(std::size_t i) const
It returns the n-th error message.
void error(const xercesc::SAXParseException &exc)
It receives from the parser a notification of a recoverable error.
void warning(const xercesc::SAXParseException &exc)
It receives from the parser a notification of a warning.
const std::size_t getNumErros() const
It returns the number of reported errors.
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).
std::vector< std::string > m_errors
The error messages.