link to homepage

Institute for Neuroscience and Medicine

Navigation and service


API documentation

DOMTreeErrorReporter Class Reference

XML exception handling. More...

#include <DOMTreeErrorReporter.h>

List of all members.

Public Member Functions

 DOMTreeErrorReporter ()
 ~DOMTreeErrorReporter ()
void warning (const SAXParseException &toCatch)
void error (const SAXParseException &toCatch)
void fatalError (const SAXParseException &toCatch)
void resetErrors ()
bool GetSawErrors () const

Public Attributes

bool fSawErrors

Detailed Description

XML exception handling.

Definition at line 43 of file DOMTreeErrorReporter.h.


Constructor & Destructor Documentation

DOMTreeErrorReporter::DOMTreeErrorReporter (  )  [inline]

Contructor

Definition at line 49 of file DOMTreeErrorReporter.h.

DOMTreeErrorReporter::~DOMTreeErrorReporter (  )  [inline]

Destructor

Definition at line 56 of file DOMTreeErrorReporter.h.


Member Function Documentation

void DOMTreeErrorReporter::error ( const SAXParseException &  toCatch  ) 

Handling of errors

Parameters:
toCatch the sax parser exception to catch

Definition at line 38 of file DOMTreeErrorReporter.cpp.

References fSawErrors.

void DOMTreeErrorReporter::fatalError ( const SAXParseException &  toCatch  ) 

Handling of fatal errors

Parameters:
toCatch the sax parser exception to catch

Definition at line 47 of file DOMTreeErrorReporter.cpp.

References fSawErrors.

bool DOMTreeErrorReporter::GetSawErrors (  )  const [inline]

Getter method

Definition at line 28 of file DOMTreeErrorReporter.cpp.

References fSawErrors.

void DOMTreeErrorReporter::resetErrors (  ) 

Reset all errors

Definition at line 56 of file DOMTreeErrorReporter.cpp.

References fSawErrors.

void DOMTreeErrorReporter::warning ( const SAXParseException &  toCatch  ) 

Handling of warnings

Parameters:
toCatch the sax parser exception to catch

Definition at line 33 of file DOMTreeErrorReporter.cpp.


Member Data Documentation

This is set if we get any errors, and is queryable via a getter method. Its used by the main code to suppress output if there are errors.

Definition at line 95 of file DOMTreeErrorReporter.h.

Referenced by error(), fatalError(), GetSawErrors(), and resetErrors().


The documentation for this class was generated from the following files:

Servicemeu