16#ifndef __mmuDOMTreeErrorReporter_h__
17#define __mmuDOMTreeErrorReporter_h__
22#include <xercesc/sax/ErrorHandler.hpp>
23#include <xercesc/sax/SAXParseException.hpp>
40 void warning(
const XERCES_CPP_NAMESPACE_QUALIFIER SAXParseException& toCatch);
42 void error(
const XERCES_CPP_NAMESPACE_QUALIFIER SAXParseException& toCatch);
44 void fatalError(
const XERCES_CPP_NAMESPACE_QUALIFIER SAXParseException& toCatch);
class name: mmuDOMTreeErrorReporter Utility class to catch XML error rised while parsing XML
void resetErrors()
reset error flag
void warning(const XERCES_CPP_NAMESPACE_QUALIFIER SAXParseException &toCatch)
Implementation of the warning handler interface.
~mmuDOMTreeErrorReporter()
destructor
void SetTestMode(bool enable)
set test modality in order to skip, problematic log messages
mmuDOMTreeErrorReporter()
constructor
bool GetSawErrors() const
retrieve error flag
void fatalError(const XERCES_CPP_NAMESPACE_QUALIFIER SAXParseException &toCatch)
Implementation of the fatal error handler interface.
void error(const XERCES_CPP_NAMESPACE_QUALIFIER SAXParseException &toCatch)
Implementation of the error handler interface.