Module java.xml
Package org.xml.sax

Class SAXParseException

java.lang.Object
All Implemented Interfaces:
Serializable

public class SAXParseException extends SAXException
Encapsulate an XML parse error or warning.

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.

Since:
1.4, SAX 1.0
See Also: