}
} catch (SeenEnoughExpectedException e) {
} catch (TransformerException e) {
if (!e.getCause().getClass().equals(
SeenEnoughExpectedException.class)) {
throw new JenaException(e);
}
// else parse finished normally
} catch (RuntimeException rte) {
throw rte;
} catch (IOException ioe) {
throw ioe;
} catch (Exception nrte) {
throw new JenaException(nrte);
} finally {
input.close();
}
addTransforms(ic.html?readerB.htmlXforms:readerB.xmlXforms);