otsdaq
v2_05_02_indev
Return to top level
Main Page
Classes
Files
File List
DOMTreeErrorReporter.h
1
#ifndef ots_DOMTreeErrorReporter_h
2
#define ots_DOMTreeErrorReporter_h
3
4
#include <string>
5
#include <xercesc/sax/ErrorHandler.hpp>
6
#include <xercesc/sax/SAXParseException.hpp>
7
8
namespace
ots
9
{
10
class
DOMTreeErrorReporter
:
public
xercesc::ErrorHandler
11
{
12
public
:
13
DOMTreeErrorReporter
();
14
~
DOMTreeErrorReporter
();
15
16
void
warning(
const
xercesc::SAXParseException& exception);
17
void
error(
const
xercesc::SAXParseException& exception);
18
void
fatalError(
const
xercesc::SAXParseException& exception);
19
void
resetErrors(
void
);
20
21
private
:
22
std::string reportParseException(
const
xercesc::SAXParseException& exception);
23
};
24
25
}
// namespace ots
26
#endif
ots::DOMTreeErrorReporter
Definition:
DOMTreeErrorReporter.h:10
otsdaq
otsdaq
XmlUtilities
DOMTreeErrorReporter.h
Generated on Wed Apr 29 2020 18:41:49 for otsdaq by
1.8.5