1 #include <utl/ReaderErrorReporter.h>
2 #include <utl/ErrorLogger.h>
3 #include <utl/XercesUtil.h>
6 using namespace xercesc;
12 ReaderErrorReporter::warning(
const SAXParseException&)
24 ReaderErrorReporter::error(
const SAXParseException& toCatch)
28 <<
"Error at file \"" <<
AsString(toCatch.getSystemId())
29 <<
"\", line " << toCatch.getLineNumber()
30 <<
", column " << toCatch.getColumnNumber()
31 <<
": " <<
AsString(toCatch.getMessage()) <<
"\n";
36 ReaderErrorReporter::fatalError(
const SAXParseException& toCatch)
40 msg <<
"Fatal Error at file \"" <<
AsString(toCatch.getSystemId())
41 <<
"\", line " << toCatch.getLineNumber()
42 <<
", column " << toCatch.getColumnNumber()
43 <<
": " <<
AsString(toCatch.getMessage()) <<
"\n";
50 ReaderErrorReporter::resetErrors()
string AsString(DOMNode &n)
#define ERROR(message)
Macro for logging error messages.