reader.parse(is);
if(controller.hadError()) throw new AbortException();
return (Document)builder.getDOM();
} catch( IOException e ) {
receiver.error( new SAXParseException2(e.getMessage(),null,e) );
} catch( SAXException e ) {
receiver.error( new SAXParseException2(e.getMessage(),null,e) );
} catch( ParserConfigurationException e ) {
receiver.error( new SAXParseException2(e.getMessage(),null,e) );
}
throw new AbortException();
}