S3FC project page S3FC home page

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

s3_xml_config::error_handler Class Reference

Error handler that reports all warnings, errors and fatal errors by throwing an s3_xml_exception. More...

#include <s3_xml_config.h>

List of all members.

Public Methods

virtual void warning (const SAXParseException &e)
 Throw s3_xml_exception reporting the warning. More...

virtual void error (const SAXParseException &e)
 Throw s3_xml_exception reporting the error. More...

virtual void fatalError (const SAXParseException &e)
 Throw s3_xml_exception reporting the fataError. More...

virtual void resetErrors ()
 Do nothing. More...


Protected Methods

void assemble_and_throw (const SAXParseException &e, const std::string &type)
 Helper function that assembles and throws an s3_xml_exception based on the exception from the parser as well as the type. More...


Detailed Description

Error handler that reports all warnings, errors and fatal errors by throwing an s3_xml_exception.

Implement the interface specified by the Xerces ErrorHandler.

Definition at line 191 of file s3_xml_config.h.


Member Function Documentation

void s3_xml_config::error_handler::assemble_and_throw const SAXParseException &    e,
const std::string &    type
[protected]
 

Helper function that assembles and throws an s3_xml_exception based on the exception from the parser as well as the type.

Parameters:
p_exception  Exception reported from parser.
type  string indicating type of error (warning, error or fatal error).

Definition at line 425 of file s3_xml_config.cc.

References s3_xml_config::domstr_to_string.

Referenced by error, fatalError, and warning.

void s3_xml_config::error_handler::error const SAXParseException &    e [virtual]
 

Throw s3_xml_exception reporting the error.

Definition at line 407 of file s3_xml_config.cc.

References assemble_and_throw.

void s3_xml_config::error_handler::fatalError const SAXParseException &    e [virtual]
 

Throw s3_xml_exception reporting the fataError.

Definition at line 413 of file s3_xml_config.cc.

References assemble_and_throw.

void s3_xml_config::error_handler::resetErrors   [virtual]
 

Do nothing.

Definition at line 419 of file s3_xml_config.cc.

void s3_xml_config::error_handler::warning const SAXParseException &    e [virtual]
 

Throw s3_xml_exception reporting the warning.

Definition at line 401 of file s3_xml_config.cc.

References assemble_and_throw.


The documentation for this class was generated from the following files:
Send comments to: s3fc@stonethree.com SourceForge Logo