Main Page   Class Hierarchy   Compound List   File List   Compound Members  

SAXException Class Reference

Inheritance diagram for SAXException:

SAXParseException List of all members.

Public Methods

Constructors and Destructor
 SAXException ()
 SAXException (const XMLCh *const msg)
 SAXException (const char *const msg)
 SAXException (const SAXException &toCopy)
virtual ~SAXException ()
Public Operators
SAXException & operator= (const SAXException &toCopy)
Getter Methods
virtual const XMLCh * getMessage () const

Protected Attributes

XMLCh * fMsg

Detailed Description

Encapsulate a general SAX error or warning.

This class can contain basic error or warning information from either the XML SAX 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.

If the application needs to pass through other types of exceptions, it must wrap those exceptions in a SAXException or an exception derived from a SAXException.

If the parser or application needs to include information about a specific location in an XML document, it should use the SAXParseException subclass.

See also:
SAXParseException#SAXParseException


Constructor & Destructor Documentation

SAXException::SAXException   [inline]
 

Default constructor

SAXException::SAXException const XMLCh *const    msg [inline]
 

Create a new SAXException.

Parameters:
msg The error or warning message.

SAXException::SAXException const char *const    msg [inline]
 

Create a new SAXException.

Parameters:
msg The error or warning message.

SAXException::SAXException const SAXException &    toCopy [inline]
 

Copy constructor

Parameters:
toCopy The exception to be copy constructed

virtual SAXException::~SAXException   [inline, virtual]
 

Destructor


Member Function Documentation

virtual const XMLCh* SAXException::getMessage   const [inline, virtual]
 

Get the contents of the message

SAXException& SAXException::operator= const SAXException &    toCopy [inline]
 

Assignment operator

Parameters:
toCopy The object to be copied


The documentation for this class was generated from the following file:
Generated on Tue Nov 19 09:36:45 2002 by doxygen1.3-rc1