On Wed, 2007-05-23 at 01:36 -0700, [EMAIL PROTECTED] wrote:
...
> ------- Additional Comments From [EMAIL PROTECTED]  2007-05-23 01:36 -------
> +    try {
> +      area = factory.getFromURL(linkUrl).getArea();
> +    } catch (RuntimeException e) {
> +      getLogger().warn("global link");
> +    }
> 
> We shouldn't use exceptions for flow control ... :)
> You can use factory.isDocument(linkUrl) instead.

jeje, cheers. :)

Will change it with the second version, which I am nearly finished.

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to