classIBXMLCALL SAXException

Exception for basic warning and error information

Inheritance:

SAXException


Public

[more] Constructors and destructor.
[more] SAXException interface.


Documentation

Exception for basic warning and error information.

A parser or an application may subclass this class to provide additional information. SAX handlers may throw this exception or any exception sub-classed from it.

If the application has to pass through other types of exception, those exceptions have to be wrapped in a SAXException or an exception derived from a SAXException.

If information about a particular location in the XML document should be included, the SAXParseException class should be used instead.

o Constructors and destructor.

o SAXException(const char* msg)
Construct a SAXException with a message.

Parameters:
msg - A pointer to a zero-terminated US-ASCII string containing a message describing the exception.

o SAXException(const ibxmlchar* msg)
Construct a SAXException with a message.

Parameters:
msg - A pointer to a string containing a message describing the exception.

o SAXException(const SAXException& e)
Copy constructor.

Parameters:
e - A reference to an existing SAXException object which should be copied.

ovirtual ~SAXException()
Destructor.

o SAXException interface.

oibxmlchar* getMessage() const
Return the message associated with the exception.

Returns:
A pointer to a string containing a message describing the exception.


Direct child classes:
SAXParseException

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.