}
}
while( (elementType = parser.parse()) != XmlParser.END_DOCUMENT );
} catch (CauseMemoryException ex) {
CauseMemoryException cex = new CauseMemoryException(
"Out of memory error while parsing HTML Link feed " + url,
ex);
throw cex;
} catch (Exception ex) {
CauseException cex = new CauseException(
"Error while parsing HTML Link feed " + url, ex);
System.err.println(cex.getMessage() + " " + ex + " " + ex.toString());
ex.printStackTrace();
//#ifdef DLOGGING
logger.severe(cex.getMessage(), cex);
//#endif
throw cex;
} catch (Throwable t) {
CauseException cex = new CauseException(
"Error while parsing HTML Link feed " + url, t);
System.err.println(cex.getMessage() + " " + t + " " + t.toString());
t.printStackTrace();
//#ifdef DLOGGING
logger.severe(cex.getMessage(), cex);
//#endif
throw cex;
}
/** Create array */