Code example for SAXException

Methods: getException

0
                              isValidating);
            parser.setProperty("http://xml.org/sax/properties/lexical-handler",
                               this);
            parser.parse(is);
        } catch (SAXException e) {
            Exception ex = e.getException();
            if (ex != null && ex instanceof InterruptedIOException) {
                throw (InterruptedIOException)ex;
            } 
            throw new SAXIOException(e);
        } 
 
        currentNode  = null;
        Document ret = document;
        document     = null;
        locator      = null;
        parser       = null;
        return ret;
    } 
 
    /**