RobWorkProject  23.9.11-
Public Member Functions | List of all members
XercesErrorHandler Class Reference

Error handler for the Xerces parser. More...

#include <XercesErrorHandler.hpp>

Inherits ErrorHandler, and DOMErrorHandler.

Public Member Functions

 XercesErrorHandler ()
 Constructs XercesErrorHandler.
 
virtual void warning (const xercesc::SAXParseException &exc)
 Inherited from xercesc::ErrorHandler. Call when a warning occurs.
 
virtual void error (const xercesc::SAXParseException &exc)
 Inherited from xercesc::ErrorHandler. Call when an error occurs.
 
virtual void fatalError (const xercesc::SAXParseException &exc)
 Inherited from xercesc::ErrorHandler. Call when a fatal error occurs.
 
virtual void resetErrors ()
 Inherited from xercesc::ErrorHandler. Resets the list of errors.
 
virtual bool handleError (const xercesc::DOMError &domError)
 Inherited from xercesc::DOMErrorHandler.
 
std::string getMessages ()
 Returns a string containing all error and warning information.
 
int getErrorCount ()
 Returns number of errors.
 
int getWarningCount ()
 Returns number of warning.
 

Detailed Description

Error handler for the Xerces parser.

Implements the xercesc::ErrorHandler and xercesc::DOMErrorHandler interfaces and receives callbacks when either warnings or errors occur in parsing and validation of the XML-document or while trying to save it.


The documentation for this class was generated from the following file: