On Sat, Mar 14, 2009 at 5:27 PM, Alex Iskander <[email protected]> wrote:
> If the JS function calls a native C++ function which throws an error, things
> will not work. So, you must catch it inside the native C++ function being
> called by the JavaScript.

Okay, i think it's clear now. Many Thanks (once again!) for your help :).

> You should be able to define the try/catch in the
> proxy function safely -- so long as you do indeed catch all exceptions.

catch(...) ought to do it ;)

> At least, that is the hypothesis I formed as a result of the little
> experiment I did this morning.

Once again, you've been very helpful :).

i think i know what needs to be done now, so i'll get back to hacking.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/

--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to