19 #ifndef CSCDQM_Exception_H
20 #define CSCDQM_Exception_H
25 #include <xercesc/sax/ErrorHandler.hpp>
26 #include <xercesc/sax/SAXParseException.hpp>
65 void warning(
const XERCES_CPP_NAMESPACE::SAXParseException& exc) {
67 LOG_WARN <<
"File: " << message <<
". line: " << exc.getLineNumber() <<
" col: " << exc.getColumnNumber();
71 void error(
const XERCES_CPP_NAMESPACE::SAXParseException& exc) {
75 void fatalError(
const XERCES_CPP_NAMESPACE::SAXParseException& exc) {
77 LOG_COUT <<
"File: " << message <<
". line: " << exc.getLineNumber() <<
" col: " << exc.getColumnNumber();
Application level Exception that is used to cut-off application execution in various cases...
void warning(const XERCES_CPP_NAMESPACE::SAXParseException &exc)
virtual const char * what() const
XMLCh * transcode(const T &fInput)
Exception(const std::string &message)
void fatalError(const XERCES_CPP_NAMESPACE::SAXParseException &exc)
void error(const XERCES_CPP_NAMESPACE::SAXParseException &exc)
Takes care of errors and warnings while parsing XML files file in XML format.