* @param aReport
* Report to use.
* @return TV guide.
+ * @throws PageException In case of problem getting the tv guide.
*/
- private TVGuide createGuide(Page aPage, Report aReport) {
+ private TVGuide createGuide(Page aPage, Report aReport) throws PageException {
LOG.info("Obtaining full TV guide");
Action[] actions = aPage.getActions();
if ( actions.length == 0 ) {
LOG.error("No channels found");
- aReport.addMessage("No channels found");
+ throw new PageException("No channels found");
}
List<Channel> channels = new ArrayList<Channel>();
for (Action action : actions) {
############################################################################
# Mail server configuration
############################################################################
-org.wamblee.crawler.smtp.host=falcon
+org.wamblee.crawler.smtp.host=shikra
org.wamblee.crawler.smtp.port=25
org.wamblee.crawler.smtp.username=
org.wamblee.crawler.smtp.password=