Proposal: Automatic Resource Management (original) (raw)
Neal Gafter neal at gafter.com
Sat Mar 7 10:21:27 PST 2009
- Previous message: Proposal: Automatic Resource Management
- Next message: Proposal: Automatic Resource Management
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, Mar 7, 2009 at 9:48 AM, Joshua Bloch <jjb at google.com> wrote:
Agreed. I like the solution in the "Additional Features" section of the proposal entitled "Retaining suppressed exceptions." If there are no compelling objections, I'll promote this to the body of the proposal in the next revision (and fill in the details).
I don't see how that solves the problem. Are you suggesting that everywhere someone handles an exception they should also check for a chain of ignored exceptions and log them? That doesn't seem very DRY.
- Previous message: Proposal: Automatic Resource Management
- Next message: Proposal: Automatic Resource Management
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]