Boost logo

Boost Users :

Subject: Re: [Boost-users] Exception handling inside a dll
From: Matthew LaCrosse (mlacrosse3_at_[hidden])
Date: 2008-10-04 19:45:11


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 <boriss_at_[hidden]> wrote:

> On Sat, 04 Oct 2008 23:45:16 +0200, Matthew LaCrosse <mlacrosse3_at_[hidden]>
> wrote:
>
> Java can't catch native code exceptions. The exception has to be caught
>>
>
> Yes, that's what I meant by conversion.
>
> in
>> 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)?
>
>
> Boris
>
> [...]
>>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net