Hello, hackers!

Does v8 play nicely with C++ exceptions?

For example, for my member-function wrapping framework i want to add a
block which does something like this:

  try {
    ... forward JS call to bound native member function ...
  } catch( std::exception const & ex ) {
    return ThrowException(String::New(ex.what()));
  }
  catch(...) {
     return ThrowException(String::New("Native routine through unknown
exception type/"));
  }

but before i do that i want to be sure that it's safe for me to use
exceptions in conjunction with v8. On the surface it would "seem
okay", but who knows.

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

Reply via email to