Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

XDFLSaxErrorReporter Class Reference

#include <xmlflowexception.hpp>

List of all members.


Detailed Description

ErrorReporter derived class for XDFLengine sax handlers.

Definition at line 153 of file xmlflowexception.hpp.

Public Methods

 XDFLSaxErrorReporter (const char *p_pszParseName)
 Constructor.

 ~XDFLSaxErrorReporter ()
 Destructor.

void warning (const SAXParseException &toCatch)
 Receives notifications of warnings.

void error (const SAXParseException &toCatch)
 Receives notifications of errors.

void fatalError (const SAXParseException &toCatch)
 Receives notifications of fatal errors.

void resetErrors ()
 Resets errors flag.

bool getSawErrors ()
 Returns true if an error occured.


Constructor & Destructor Documentation

XDFLSaxErrorReporter::XDFLSaxErrorReporter const char *    p_pszParseName
 

Constructor.

Parameters:
p_pszParseName Name of the parser which uses the XDFLSaxErrorReporter.

Definition at line 167 of file xmlflowexception.cpp.

References DEBUG_CREATE, importCharBuffer(), and resetErrors().

XDFLSaxErrorReporter::~XDFLSaxErrorReporter  
 

Destructor.

Definition at line 178 of file xmlflowexception.cpp.

References DEBUG_DEL, and releaseCharBuffer().


Member Function Documentation

void XDFLSaxErrorReporter::error const SAXParseException &    toCatch
 

Receives notifications of errors.

Parameters:
SAXParseException The SAX exception thrown by the parser.

Definition at line 198 of file xmlflowexception.cpp.

References concatCharBuffer(), copyCharBuffer(), DEBUG_FUNC, releaseCharBuffer(), and XSTR().

void XDFLSaxErrorReporter::fatalError const SAXParseException &    toCatch
 

Receives notifications of fatal errors.

Parameters:
SAXParseException The SAX exception thrown by the parser.

Definition at line 228 of file xmlflowexception.cpp.

References concatCharBuffer(), copyCharBuffer(), DEBUG_FUNC, releaseCharBuffer(), and XSTR().

bool XDFLSaxErrorReporter::getSawErrors  
 

Returns true if an error occured.

Definition at line 271 of file xmlflowexception.cpp.

References DEBUG_FUNC.

void XDFLSaxErrorReporter::resetErrors  
 

Resets errors flag.

Definition at line 259 of file xmlflowexception.cpp.

References DEBUG_FUNC.

Referenced by XDFLSaxErrorReporter().

void XDFLSaxErrorReporter::warning const SAXParseException &    toCatch
 

Receives notifications of warnings.

Parameters:
SAXParseException The SAX exception thrown by the parser.

Definition at line 190 of file xmlflowexception.cpp.

References DEBUG_FUNC.


The documentation for this class was generated from the following files:
Generated on Sat Oct 4 13:24:57 2003 for XDFLengine by doxygen1.3-rc2