Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

qgxml::SAXException Class Reference
[XML SAX Module]

#include <qgarlib/sax/SAXException.H>

Inheritance diagram for qgxml::SAXException:

qgxml::SAXParseException List of all members.

Detailed Description

Encapsulate a general SAX error or warning.

This class can contain basic error or warning information from either the XML parser or the application: a parser writer or application writer can subclass it to provide additional functionality. SAX handlers may throw this exception or any exception subclassed from it.

This class is an adaptation for C++ of the interface of the same name implemented in the Java SAX API(http://www.saxproject.org).

Author:
Jan Rendek (Adaptation)
Date:
March 10, 2003 11:14
Since:
Qgar 2.1.1
Todo:
Implement the embedded exception.

Definition at line 77 of file SAXException.H.

Public Member Functions

Constructors
 SAXException ()
 SAXException (const SAXException &rhs)
 Copy-Constructor.
 SAXException (const std::string &message)
 Create a new SAXException.
Access
virtual const char * getMessage ()
 Return a detail message for this exception.
virtual const char * getMessage () const
 Return a detail message for this exception.
Destructor
virtual ~SAXException () throw ()


Constructor & Destructor Documentation

qgxml::SAXException::SAXException  )  [inline]
 

Default Constructor

Definition at line 91 of file SAXException.H.

qgxml::SAXException::SAXException const SAXException rhs  )  [inline]
 

Copy-Constructor.

Definition at line 97 of file SAXException.H.

qgxml::SAXException::SAXException const std::string &  message  )  [inline]
 

Create a new SAXException.

Parameters:
message The error or warning message.

Definition at line 106 of file SAXException.H.

virtual qgxml::SAXException::~SAXException  )  throw () [inline, virtual]
 

Definition at line 153 of file SAXException.H.


Member Function Documentation

virtual const char* qgxml::SAXException::getMessage  )  const [inline, virtual]
 

Return a detail message for this exception.

Returns:
The error or warning message.

Definition at line 134 of file SAXException.H.

virtual const char* qgxml::SAXException::getMessage  )  [inline, virtual]
 

Return a detail message for this exception.

Returns:
The error or warning message.

Definition at line 124 of file SAXException.H.

Referenced by qgxml::XercesQgarContentHandlerAdaptor::characters(), qgxml::XercesQgarContentHandlerAdaptor::endDocument(), qgxml::XercesQgarContentHandlerAdaptor::endElement(), qgxml::XercesQgarContentHandlerAdaptor::endPrefixMapping(), qgar::QgarAppDescr::fatalError(), qgxml::XercesQgarContentHandlerAdaptor::ignorableWhitespace(), qgxml::XercesQgarDTDHandlerAdaptor::notationDecl(), qgxml::XercesQgarContentHandlerAdaptor::processingInstruction(), qgxml::XercesQgarContentHandlerAdaptor::skippedEntity(), qgxml::XercesQgarContentHandlerAdaptor::startDocument(), qgxml::XercesQgarContentHandlerAdaptor::startElement(), qgxml::XercesQgarContentHandlerAdaptor::startPrefixMapping(), and qgxml::XercesQgarDTDHandlerAdaptor::unparsedEntityDecl().


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