X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=crawler%2Fbasic%2Fsrc%2Forg%2Fwamblee%2Fcrawler%2FCrawler.java;h=201df3fb2dbeab4b4c2a647b2056dae739af3648;hb=60e618c7e6c2bf721db4cca59a78d8c731e98882;hp=07dff3fdb5f7d6c42dfd3feb43ebc30101466c29;hpb=d4bb47fd284738756cd112b788a49caa1a9d5c38;p=utils diff --git a/crawler/basic/src/org/wamblee/crawler/Crawler.java b/crawler/basic/src/org/wamblee/crawler/Crawler.java index 07dff3fd..201df3fb 100644 --- a/crawler/basic/src/org/wamblee/crawler/Crawler.java +++ b/crawler/basic/src/org/wamblee/crawler/Crawler.java @@ -26,6 +26,7 @@ public interface Crawler { * Gets the content for a specific page. * @param aUrl Url of page. * @return Page to retrieve. + * @throws PageException In case of problems retrieving the page. */ Page getPage(String aUrl) throws PageException; @@ -33,7 +34,8 @@ public interface Crawler { * Gets the content for a specific page. * @param aUrl Url of page. * @param aType Type of page. - * @return Page. + * @return Page. + * @throws PageException In case of problems retrieving the page. */ Page getPage(String aUrl, PageType aType) throws PageException; }