20 #ifndef GTXLERRORHANDLER_H_
21 #define GTXLERRORHANDLER_H_
23 #include <xercesc/sax/ErrorHandler.hpp>
24 #include <xercesc/sax/SAXParseException.hpp>
52 virtual void warning (
const xercesc::SAXParseException &exc)
override;
58 virtual void error (
const xercesc::SAXParseException &exc)
override;
64 virtual void fatalError (
const xercesc::SAXParseException &exc)
override;
XercesLoggingErrorHandler()
Generates a new XerxesLoggingErrorHandler.
Definition: XercesLoggingErrorHandler.cpp:33
virtual void resetErrors() override
Since errors are not stores by this class, this function does nothing.
Definition: XercesLoggingErrorHandler.cpp:53
virtual void error(const xercesc::SAXParseException &exc) override
Prints a Xerxes error to the standard logging stream.
Definition: XercesLoggingErrorHandler.cpp:41
virtual void warning(const xercesc::SAXParseException &exc) override
Prints a Xerxes warning to the standard logging stream.
Definition: XercesLoggingErrorHandler.cpp:37
Prints errors generated by the Xerces framework.
Definition: XercesLoggingErrorHandler.h:34
virtual ~XercesLoggingErrorHandler()
Destroys this XerxesLoggingErrorHandler.
Definition: XercesLoggingErrorHandler.cpp:35
virtual void fatalError(const xercesc::SAXParseException &exc) override
Prints a Xerxes fatal error to the standard logging stream.
Definition: XercesLoggingErrorHandler.cpp:47