On Fri, Feb 27, 2009 at 10:29 PM, Joshua Bloch <jjb at google.com> wrote: > try { localVar.close(); } catch(Exception #ignore) { } Simply discarding exceptions seems wrong. As a practical matter, if I were to use a construct like this I would want the "ignored" exceptions to be logged so that we don't sweep programming errors under the rug.