log.info("Deleting entry "+entry+" in feed "+feedURI);
FeedClient appClient = new FeedClient(feedURI);
if (auth!=null) {
appClient.setIdentity(auth.getName(),auth.getPassword());
}
Status status = appClient.deleteEntry(entry);
if (!status.isSuccess() && !status.equals(Status.CLIENT_ERROR_NOT_FOUND)) {
errorCount++;
log.severe("Cannot delete feed "+feedURI+", stopping synchronization.");
throw new SyncException("Synchronization was incomplete. Stopped due to failure to delete feed: "+feedURI);
}