//#endif
if ((url != null) && url.startsWith("file://")) {
System.err.println("Cannot process file.");
}
throw new CauseException("Error while parsing RSS data: " +
url, e);
} catch(ConnectionNotFoundException e) {
//#ifdef DLOGGING
//@ logger.severe("handleOpen connection error with " + url, e);
//#endif
if ((url != null) && url.startsWith("file://")) {
System.err.println("Cannot process file.");
}
throw new CauseException("Bad URL/File or protocol error while " +
"opening: " + url, e);
//#ifdef DMIDP20
} catch(CertificateException e) {
//#ifdef DLOGGING
//@ logger.severe("handleOpen https security error with " + url, e);
//#endif
if ((url != null) && url.startsWith("file://")) {
System.err.println("Cannot process file.");
}
throw new CauseException("Bad URL/File or protocol error or " +
"certifacate error while opening: " + url, e);
//#endif
} catch(IOException e) {
throw e;
} catch(SecurityException e) {
//#ifdef DLOGGING
//@ logger.severe("handleOpen security error with " + url, e);
//#endif
if ((url != null) && url.startsWith("file://")) {
System.err.println("Cannot process file.");
}
throw new CauseException("Security error while oening " +
": " + url, e);
} catch(Exception e) {
//#ifdef DLOGGING
//@ logger.severe("handleOpen internal error with " + url, e);
//#endif
if ((url != null) && (url.startsWith("file://"))) {
System.err.println("Cannot process file.");
}
throw new CauseException("Internal error while parsing " +
": " + url, e);
} catch(Throwable t) {
//#ifdef DLOGGING
//@ logger.severe("handleOpen internal error with " + url, t);
//#endif
t.printStackTrace();
throw new CauseException("Internal error while parsing RSS data " +
":l" + url, t);
}
}