Hi, On Thu, Sep 1, 2011 at 11:36 AM, Michael McCandless <[email protected]> wrote: > While rare for IS.close() to throw an exception, if it does, it's > quite awful because it masks the original exception. It seems best to > be defensive?
With closeQuietly() you'd really be throwing information out in case where close() fails when no other exception has been thrown. Instead of one exception masking another, you'd have no exceptions masking one! BR, Jukka Zitting
