Owen O'Malley wrote:

On Apr 4, 2006, at 3:48 AM, Andrzej Bialecki wrote:

Shouldn't this method throw an IOException, as it is declared in Closeable?

Yes, it should. Thanks for the catch Andrzej.

What is interesting is that javac didn't catch it either... strange. I need to read a good book on Java basics, it seems. ;)

It makes sense also to add the throws clause to configure, I think, as Darek suggested in another post.

--
Best regards,
Andrzej Bialecki     <><
___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com


Reply via email to