Inheritance diagram for SAXParseException:
Public Methods | |
Constructors and Destructor | |
SAXParseException (const XMLCh *const message, const Locator &locator) | |
SAXParseException (const XMLCh *const message, const XMLCh *const publicId, const XMLCh *const systemId, const unsigned int lineNumber, const unsigned int columnNumber) | |
SAXParseException (const SAXParseException &toCopy) | |
~SAXParseException () | |
Assignment operator | |
SAXParseException & | operator= (const SAXParseException &toAssign) |
Getter methods | |
unsigned int | getColumnNumber () const |
unsigned int | getLineNumber () const |
const XMLCh * | getPublicId () const |
const XMLCh * | getSystemId () const |
This exception will include information for locating the error in the original XML document. 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.
|
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 DocumentHandler callback.
|
|
Create a new SAXParseException. This constructor is most useful for parser writers. If the system identifier is a URL, the parser must resolve it fully before creating the exception.
|
|
Copy constructor
|
|
Destructor |
|
The column number of the end of the text where the exception occurred. The first column in a line is position 1.
|
|
The line number of the end of the text where the exception occurred.
|
|
Get the public identifier of the entity where the exception occurred.
|
|
Get the system identifier of the entity where the exception occurred. If the system identifier is a URL, it will be resolved fully.
|
|
Assignment operator
|