It's not catching the exception in the C++ code. Could this just having something do with using the std::string class for the regex inputs?

On Sat, Oct 4, 2008 at 5:37 PM, Boris <> wrote:
On Sat, 04 Oct 2008 23:45:16 +0200, Matthew LaCrosse <> wrote:

Java can't catch native code exceptions. The exception has to be caught

Yes, that's what I meant by conversion.

the C++ code but so far traditional exception handling isn't working. I even
tried put a try/catch block around the entire function and it still crashes.

You mean you can't catch the C++ exception in C++ code? Did you try it in a small console application (just to make sure the problem is not JNI-related)?



Boost-users mailing list