Code example for ErrorHandler

Methods: fatalError

0
            if (locator == null)
                e = new SAXParseException (message, null, null, -1, -1, x);
            else 
                e = new SAXParseException (message, locator, x);
            if (errHandler != null)
                errHandler.fatalError (e);
            throw e;
        } 
 
        /** 
         * Returns and forgets the document produced.  If the handler is 
         * reused, a new document may be created. 
         */ 
        Document clearDocument ()
        { 
            Document retval = document;
            document = null;
            locator = null;
            return retval;
        } 
Connect your IDE to all the code out there  Get Codota for Java