Reports errors encountered during XML parsing. More...
#include <ReaderErrorReporter.h>
Public Member Functions | |
void | error (const xercesc::SAXParseException &toCatch) override |
Collect errors during XML parsing. More... | |
void | fatalError (const xercesc::SAXParseException &toCatch) override |
const std::ostringstream & | getMessages () const |
bool | getSawErrors () const |
void | resetErrors () override |
void | warning (const xercesc::SAXParseException &toCatch) override |
Private Attributes | |
std::ostringstream | fMessages |
bool | fSawErrors = false |
Reports errors encountered during XML parsing.
Definition at line 23 of file ReaderErrorReporter.h.
|
override |
Collect errors during XML parsing.
Errors are gathered for each document, then evaluated by the Reader to decide what action to take.
Definition at line 24 of file ReaderErrorReporter.cc.
References fwk::AsString().
|
override |
Definition at line 36 of file ReaderErrorReporter.cc.
References fwk::AsString(), and ERROR.
|
inline |
Definition at line 31 of file ReaderErrorReporter.h.
References fMessages.
|
inline |
Definition at line 30 of file ReaderErrorReporter.h.
References fSawErrors.
|
override |
Definition at line 50 of file ReaderErrorReporter.cc.
|
override |
Definition at line 12 of file ReaderErrorReporter.cc.
|
private |
Definition at line 35 of file ReaderErrorReporter.h.
Referenced by getMessages().
|
private |
Definition at line 34 of file ReaderErrorReporter.h.
Referenced by getSawErrors().