Code example for DefaultHandler

Methods: warning

0
        } 
    } 
 
    public void testWarning() { 
        try { 
            h.warning(new SAXParseException("Foo", new LocatorImpl()));
        } catch (SAXException e) {
            throw new RuntimeException(e);
        } 
    } 
 
    public void testError() { 
        try { 
            h.error(new SAXParseException("Foo", new LocatorImpl()));
        } catch (SAXException e) {
            throw new RuntimeException(e);
        } 
    } 
 
    public void testFatalError() {