[augeas-devel] RFC: Java Bindings

David Lutterkort lutter at redhat.com
Fri Aug 7 00:52:18 UTC 2009


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





More information about the augeas-devel mailing list