Class org.xml.sax.SAXParseException

java.lang.Object
   |
   +—java.lang.Throwable
                |
                +—java.lang.Exception
                             |
                             +—org.xml.sax.SAXException
                                             |
                                             +—org.xml.sax.SAXParseException

public class SAXParseException

extends SAXException — Encapsulates an XML parse error or warning.

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.

Version:

1.0 ...

Get Enterprise Application Integration With XML and Java™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.