This is another enhancement request.
It is excellent that the 0.3 version now wraps
every peer call with exception handling in the
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
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.