On Tue, Apr 7, 2009 at 6:48 PM, Ondrej Zara <[email protected]> wrote: > HasCaught() is documented and heavily used in unit tests. It surely is the > preferred way of checking whether an exception has been thrown.
i can't say what the unit tests use, but the embedder's guide says to check for IsEmpty(): http://code.google.com/apis/v8/embed.html#exceptions -- ----- stephan beal http://wanderinghorse.net/home/stephan/ --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
