Code example for SAXParseException

0
        method = "startElement", 
        args = { String.class, AttributeList.class }
    ) 
    public void testStartElement() { 
        try { 
            h.startElement("name", new AttributeListImpl());
        } catch (SAXException e) {
            throw new RuntimeException(e);
        } 
    } 
 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        method = "endElement", 
        args = { String.class }
    ) 
    public void testEndElement() { 
        try { 
            h.endElement("name");
        } catch (SAXException e) {
            throw new RuntimeException(e);