31 #include <xercesc/sax/SAXParseException.hpp> 
   40   m_errors.push_back(
ToString(exc.getMessage()));
 
   45   m_errors.push_back(
ToString(exc.getMessage()));
 
   55   return m_errors.size();
 
   67   for(std::size_t i = 0; i < m_errors.size(); ++i)
 
const std::string & getError(std::size_t i) const 
It returns the n-th error message. 
 
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. 
 
This class implements Xerces interface for error handlers. 
 
const std::string getErrors() const 
It returns a concatenation of all reported error messages. 
 
std::string ToString(const XMLCh *const value)
It converts the XML string to a standard C++ string. 
 
std::vector< std::string > m_errors
The error messages. 
 
const std::size_t getNumErros() const 
It returns the number of reported errors. 
 
void error(const xercesc::SAXParseException &exc)
It receives from the parser a notification of a recoverable error.