commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <ebo...@micropole-univers.com>
Subject Re: [configuration] Closing opened input streams
Date Mon, 29 Mar 2004 12:48:12 GMT
Eric Pugh wrote:

> We can do that..  Just need to trap and throw the resulting IOException as a
> ConfigurationException then...

I wouldn't throw an exception if close() fails, it doesn't prevent using 
the configuration since we have finished reading the stream at this 
point. A warning or a stack trace would be enough.

Emmanuel Bourg

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message