Exception for basic warning and error information associated with a particular location in the XML data
SAXException interface.
Exception for basic warning and error information associated with a particular location in the XML data.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 SAXParseException or an exception derived from a SAXParseException.
Note that this constructor may only be used inside a DocumentHandler as a Locator object is referenced.
Note that this constructor may only be used inside a
DocumentHandler as a Locator object is referenced.
SAXParseException(const char* message, const Locator& locator)
locator - A reference to a Locator
object with information about
the current location in the
XML document. SAXParseException(const ibxmlchar* message, const ibxmlchar* publicId, const ibxmlchar* systemId, int lineNumber, int columnNumber)
publicId - A pointer to a string
containing the name of the
public identifier of the input
source, or null if not
available.
systemId - A pointer to a string
containing the name of the
system identifier of the input
source. The system identifier
must be fully resolved.
lineNumber - The line number in the input
source, or -1 if not
available.
columnNumber - The column number in the input
source, or -1 if not
available.
ibxmlchar* getSystemId() const
int getLineNumber() const
int getColumnNumber() const
Alphabetic index Hierarchy of classes