#include <SAXParseException.h>
Inheritance diagram for org::xml::sax::SAXParseException:
This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY. See http://www.saxproject.org for further information.
This exception may include information for locating the error in the original XML document, as if it came from a Locator object. Note that although the application will receive a SAXParseException as the argument to the handlers in the ErrorHandler interface, the application is not actually required to throw the exception; instead, it can simply read the information in it and take a different action.
Since this exception is a subclass of SAXException, it inherits the ability to wrap another exception.
Public Member Functions | |
SAXParseException (IN(RString) s, IN(RLocator) locator) | |
Create a new SAXParseException from a message and a Locator. | |
SAXParseException (IN(RString) s, IN(RLocator) locator, IN(RException) exception) | |
Wrap an existing exception in a SAXParseException. | |
SAXParseException (IN(RString) msg, IN(RString) publicId, IN(RString) systemId, int lineno, int colno, IN(RException) ex=Nil) | |
Create a new SAXParseException with an embedded exception. | |
virtual RLocator | locator () |
RString | getPublicId () |
RString | getSystemId () |
int | getLineNumber () |
int | getColumnNumber () |
RString | getMessage () |
Return a detail message for this exception. | |
RString | toString () |
Private Attributes | |
RLocator | _locator |
RString | _publicId |
RString | _systemId |
int | _lineNo |
int | _columnNo |
|
Create a new SAXParseException from a message and a Locator. This constructor is especially useful when an application is creating its own exception from within a ContentHandler callback.
|
|
Wrap an existing exception in a SAXParseException. This constructor is especially useful when an application is creating its own exception from within a ContentHandler callback, and needs to wrap an existing exception that is not a subclass of SAXException.
|
|
Create a new SAXParseException with an embedded exception. This constructor is most useful for parser writers who need to wrap an exception that is not a subclass of SAXException. All parameters except the message and exception are as if they were provided by a Locator. For example, if the system identifier is a URL (including relative filename), the caller must resolve it fully before creating the exception.
|
|
|
|
|
|
Return a detail message for this exception. If there is an embedded exception, and if the SAXException has no detail message of its own, this method will return the detail message from the embedded exception.
Reimplemented from org::xml::sax::SAXException. |
|
|
|
|
|
|
|
Reimplemented from org::xml::sax::SAXException. |
|
|
|
|
|
|
|
|
|
|