diff options
author | Michael Bien <[email protected]> | 2010-09-11 20:43:26 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-09-11 20:43:26 +0200 |
commit | 48c0c2ac3784b4624f9e93b01fc81a3f1ea0868a (patch) | |
tree | 4d82de4a8387b08e3a85ca34aca9c69423069d52 | |
parent | 3fa5d7061aaced679493ed8aa82d09f485852e18 (diff) |
more failsafe if feeds fail to load
-rw-r--r-- | src/main/java/com/jogamp/hungryharry/FeedAggregator.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main/java/com/jogamp/hungryharry/FeedAggregator.java b/src/main/java/com/jogamp/hungryharry/FeedAggregator.java index 2060e14..4378a57 100644 --- a/src/main/java/com/jogamp/hungryharry/FeedAggregator.java +++ b/src/main/java/com/jogamp/hungryharry/FeedAggregator.java @@ -8,7 +8,6 @@ import com.jogamp.hungryharry.Config.Planet; import com.sun.syndication.feed.synd.SyndContent; import com.sun.syndication.io.SyndFeedOutput; import com.sun.syndication.feed.synd.SyndEntry; -import com.sun.syndication.fetcher.FetcherException; import com.sun.syndication.io.FeedException; import java.io.FileNotFoundException; import java.io.IOException; @@ -236,11 +235,7 @@ public class FeedAggregator { LOG.info("downloaded "+entries.size()+ " entries"); collectedEntries.addAll(entries); - } catch (IOException ex) { - LOG.log(WARNING, "skipping feed", ex); - } catch (FetcherException ex) { - LOG.log(WARNING, "skipping feed", ex); - } catch (FeedException ex) { + } catch (Exception ex) { LOG.log(WARNING, "skipping feed", ex); } } |