Capture the output of ExceptionDescribe
I have some C++ code which calls Java code through the Invocation API:
jType type = env->SomeJNICall();
if ( type == NULL || env->ExceptionOccurred() )
env->ExceptionDescribe();
Instead of spitting out the exception description to stdout (or stderr?) is there a way of capturing the text and putting it into a std::string or copying it into a memory location pointed to by a char *?
Thanks!

