exception message propagation

This commit is contained in:
Athou
2013-03-25 18:04:13 +01:00
parent 5b9e12a101
commit 7e0ef9f89d

View File

@@ -48,7 +48,7 @@ public class FeedFetcher {
String content = EntityUtils.toString(entity, "UTF-8");
feed = parser.parse(feedUrl, content);
} catch (Exception e) {
throw new RuntimeException(e);
throw new RuntimeException(e.getMessage(), e);
} finally {
httpclient.getConnectionManager().shutdown();
}