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