APIdia Launch Partner
Top Description Fields Constructors
com.sun.org.apache.xerces.internal.jaxp.validation

public Class WrappedSAXException

extends RuntimeException
Class Inheritance
Imports
org.xml.sax.SAXException

Wraps SAXException and make it an unchecked exception.

Xerces XNI doesn't allow SAXException to be thrown. So when the user-supplied error handler throws it, it needs to be tunneled through Xerces.

It is a bug if this exception "leaks" to the application. FIXME: use XNIException for this purpose. It's already doing this kind of SAXException tunneling.

Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
public final SAXException
private static final long

Constructor Summary

AccessConstructor and Description
pack-priv

Field Detail

exceptionback to summary
public final SAXException exception
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

WrappedSAXExceptionback to summary
pack-priv WrappedSAXException(SAXException e)