ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: FileUtils.close()
Date Thu, 23 Jun 2005 07:19:01 GMT
On Wed, 22 Jun 2005, Jesse Glick <jesse.glick@sun.com> wrote:

> That's one option. Another is to just assume the worst and throw the
> IOException from whatever.close()

One of the problems in addition to changing a whole lot of method
signatures is that we want to close files even in the error case and
an exception thrown by close in a catch block might be masking the
original problem.

Stefan

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


Mime
View raw message