Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#17 exception handling enhancement

open
nobody
5
2002-01-09
2002-01-09
Maurice Gilmore
No

This is another enhancement request.

It is excellent that the 0.3 version now wraps
every peer call with exception handling in the
mapping code.

However the exception handling code always rethrows
another exception to the java layer.
It would be nice to be able to have an option
to handle the exception in another user defined
way.

One way to do this would be to be able to register
a callback with JNIEnvHelper class so that
when the JNIEnvHelper::Throw method is called the user
defined callback could be called to deal with
the exception in a user defined way.

Discussion