* @throws ServiceException If the service is unable to handle the request.
*/
private static void queryTransactionFeed(FinanceService service, String feedUrl)
throws IOException, MalformedURLException, ServiceException {
System.out.println("Requesting Feed at location " + feedUrl);
TransactionFeed transactionFeed = service.getFeed(new URL(feedUrl), TransactionFeed.class);
System.out.println("\nTransaction Feed\n================");
printBasicFeedDetails(transactionFeed);
for (int i = 0; i < transactionFeed.getEntries().size(); i++) {
TransactionEntry transactionEntry = transactionFeed.getEntries().get(i);
printTransactionEntry(transactionEntry);
}
}