On Thu, 13 Dec 2001, Daniel Rall wrote: > Here's what Subversion does for error progation: > > http://svn.collab.net/repos/svn/trunk/subversion/include/svn_error.h > > Could propogate that in the suggested env.
It seems they are using a struct that is returned instead of a simple int, as status. It does solve the problem of propagating more info. However I would rather use the jni style and use the env parameters. I think it has few benefits over svn: - return values can be used ( I believe it can be easier to read than ** ) - it also provides access to logging, object registry, etc. We have to pass this anyway. - it's close to java - most people here are using java most of the time, some have already experience with jni, so it would 'feel' more natural - I believe it is a bit cleaner ( but that's a matter of taste ). So far I have a -1, if Bill doesn't change his vote we'll keep the current mechanism. But if we are going to change error handling, I think jni style is better for our needs. Costin -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>