try-with-resources and null resource (original) (raw)
Rémi Forax forax at univ-mlv.fr
Mon Jan 24 11:53:12 PST 2011
- Previous message: try-with-resources and null resource
- Next message: try-with-resources and null resource
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 01/24/2011 08:30 PM, Tim Peierls wrote:
On Mon, Jan 24, 2011 at 2:00 PM, Joe Darcy<joe.darcy at oracle.com> wrote:
I think this stack trace can easily be explained to programmers by saying "the suppressed exception comes from the close call you did have to write yourself." Agreed on all points, except I think you meant: s/did/didn't/
Am I the only one to think that having a generated code that throw an exception lately is a bad idea ?
--tim
Rémi
- Previous message: try-with-resources and null resource
- Next message: try-with-resources and null resource
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]