Re: [Htmlparser-user] Not able to catch ParserException
Brought to you by:
derrickoswald
|
From: <oys...@me...> - 2007-01-11 14:03:53
|
Hi,
> The only thing I can think of is that your logger is printing the
> exception to standard out or something (you are passing the exception to
> the error method). Does the problem occur when you comment out the
> logger.error ("Could not parse url", e); ?
The exception is written to the console even though I'm not using any
try/catch.
StringBean sb;
sb = new StringBean ();
sb.setLinks(false);
sb.setURL(url);
content = sb.getStrings();
return content;
Weird... thanks for your time though!
-Øystein
|