FileDocCategorySizeDatePackage
WrappedSAXException.javaAPI DocJava SE 5 API3472Fri Aug 26 14:55:54 BST 2005com.sun.org.apache.xerces.internal.jaxp.validation

WrappedSAXException

public class WrappedSAXException extends RuntimeException
Wraps {@link SAXException} and make it an unchecked exception.

Xerces XNI doesn't allow {@link 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 (kohsuke.kawaguchi@sun.com)

Fields Summary
public final SAXException
exception
Constructors Summary
WrappedSAXException(SAXException e)

        this.exception = e;
    
Methods Summary