[augeas-devel] RFC: Java Bindings

Bryan Kearney bkearney at redhat.com
Fri Aug 7 18:07:55 UTC 2009


David Lutterkort wrote:
> On Wed, 2009-08-05 at 21:57 -0400, Bryan Kearney wrote:
>> One question.. I am not throwing exceptions. Rather, you can interrogate 
>>    the lastResult() to throw an exception if you like. Does that seem 
>> like a fair approach?
> 
> Personally, I like exceptions. A lot. I would just throw them by
> default, i.e. translate all those return codes of -1 in hte C API to
> exceptions.
> 
> David
> 
> 
Do you want them checked or unchecked? I could see a model of making 
them unckecked, and turning them on or off per user input.

-- bk




More information about the augeas-devel mailing list