285286287288289290291292293294295
// set the feed to the requested type & return it try { feed.setType(feedType); response.setContentType("text/xml; charset=UTF-8"); feed.output(response.getWriter()); } catch( FeedException fex ) { throw new IOException(fex.getMessage()); }
238239240241242243244245246247248
// set the feed to the requested type & return it try { feed.setType(feedType); response.setContentType("text/xml; charset=UTF-8"); feed.output(response.getWriter()); } catch( FeedException fex ) { throw new IOException(fex.getMessage(), fex); }