From: erik Date: Fri, 7 Jul 2006 20:34:14 +0000 (+0000) Subject: (no commit message) X-Git-Tag: BEFORE_MAVEN_MIGRATION~73 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=133aec2ff6497b94ba5b147853690c487c5f8da5;p=utils --- diff --git a/crawler/kiss/src/org/wamblee/crawler/kiss/main/KissCrawler.java b/crawler/kiss/src/org/wamblee/crawler/kiss/main/KissCrawler.java index db787eb6..31eb2878 100644 --- a/crawler/kiss/src/org/wamblee/crawler/kiss/main/KissCrawler.java +++ b/crawler/kiss/src/org/wamblee/crawler/kiss/main/KissCrawler.java @@ -259,13 +259,14 @@ public class KissCrawler { * @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 channels = new ArrayList(); for (Action action : actions) { diff --git a/crawler/kissweb/src/org.wamblee.crawler.properties b/crawler/kissweb/src/org.wamblee.crawler.properties index d5aa979f..dc2638c4 100644 --- a/crawler/kissweb/src/org.wamblee.crawler.properties +++ b/crawler/kissweb/src/org.wamblee.crawler.properties @@ -3,7 +3,7 @@ ############################################################################ # 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=