Proposal: Automatic Resource Management

Neal Gafter neal at gafter.com
Sat Mar 7 10:39:19 PST 2009


On Sat, Mar 7, 2009 at 10:31 AM, Stephen Colebourne
<scolebourne at joda.org> wrote:
> The problem is complicated in a different way in BGGA/JCA control
> invocation.
>
> While BGGA/JCA can have a 'manage resource and log exceptions' API as
> well as a 'manage resource and ignore exceptions' API, the problem is
> which is the default? Developers now have to choose one API over
> another. And with the logging case they might well have to write their
> own version that writes to their particular logger. More work.

That's not a very good API design for this class of problems.  I would
rather expect that a resource management API written using BGGA would
allow the developer to register a handler for these ignored
exceptions.



More information about the coin-dev mailing list