java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.xml.sax.SAXException
org.xml.sax.SAXParseException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SAXParseException2
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.
SAX - 1.0David - Megginson| Field Summary | ||
|---|---|---|
| static final long | serialVersionUID | |
| Fields inherited from org.xml.sax.SAXException: |
|---|
| serialVersionUID |
| Constructor: |
|---|
This constructor is especially useful when an application is creating its own exception from within a ContentHandler callback.
|
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 .
|
This constructor is most useful for parser writers. All parameters except the message 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.
|
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.
|
| Method from org.xml.sax.SAXParseException Summary: |
|---|
| getColumnNumber, getLineNumber, getPublicId, getSystemId |
| Methods from org.xml.sax.SAXException: |
|---|
| getException, getMessage, toString |
| Methods from java.lang.Throwable: |
|---|
| fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.xml.sax.SAXParseException Detail: |
|---|
The first column in a line is position 1. |
The first line is line 1. |
|
If the system identifier is a URL, it will have been resolved fully. |