try-with-resources and null resource
pdoubleya at gmail.com
Mon Jan 24 13:08:56 PST 2011
> Am I the only one to think that having a generated code that throw an
> exception lately is a bad idea ?
No, I agree with you on this. In particular because the paint is not
yet dry on the code. I'd actually prefer if the spec just disallowed
nulls in this case, and the exception stated that - "Illegal null
pointer passed to try with resources" or something like that. But
second best would be to see the line number associated with the try in
the exception message.
More information about the coin-dev