try-with-resources and null resource

Rémi Forax forax at univ-mlv.fr
Mon Jan 24 11:53:12 PST 2011


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



More information about the coin-dev mailing list