X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=crawler%2Fbasic%2Fsrc%2Forg%2Fwamblee%2Fcrawler%2FAction.java;h=cd9b4e2a74a83062757133aa697259d133522050;hb=2c65c3ac67c3a5c4477f74cc3f2e5dcf34d950ef;hp=a4df7a1fc736e0186236c61a86a63fdcf80cb3f6;hpb=81bc61121a8f17f754fc99eb66603a59df242ddc;p=utils diff --git a/crawler/basic/src/org/wamblee/crawler/Action.java b/crawler/basic/src/org/wamblee/crawler/Action.java index a4df7a1f..cd9b4e2a 100644 --- a/crawler/basic/src/org/wamblee/crawler/Action.java +++ b/crawler/basic/src/org/wamblee/crawler/Action.java @@ -31,14 +31,15 @@ public interface Action { /** * Executes the action. - * @return + * @return New page as a result of the action. + * @throws PageException In case of an error obtaining the page. */ - Page execute(); + Page execute() throws PageException; /** * Gets a description of the action. THe element returned is the action element * itself. - * @return + * @return Content as XML. */ Element getContent(); }