On Thu, Jun 26, 2014 at 6:53 AM, Jane Chen jxche...@gmail.com wrote:
I need a way to throw an exception from a function callback. For this type
of exception, I don't want the script to catch it, but instead, I'd like v8
to throw it out to my system so that I can catch it and re-run the script.
Thanks Ben. I saw it and was thinking that could be my last resort.
Does terminateExecution tear down the isolate or just terminate execution
of one script? Do my cached persistent handles survive a
terminateExecution?
On Thursday, June 26, 2014 12:21:03 AM UTC-7, Ben Noordhuis wrote:
On
On Thu, Jun 26, 2014 at 6:41 PM, Jane Chen jxche...@gmail.com wrote:
Thanks Ben. I saw it and was thinking that could be my last resort.
Does terminateExecution tear down the isolate or just terminate execution of
one script? Do my cached persistent handles survive a terminateExecution?
I need a way to throw an exception from a function callback. For this type
of exception, I don't want the script to catch it, but instead, I'd like v8
to throw it out to my system so that I can catch it and re-run the script.
Does v8 provide such an API? If not, is there some kind of
Exceptions are there to be caught O.o
If you want to catch a failure via your syste, consider terminating the
actual process with a error message or error code, that oyur system understands.
Am 26.06.2014 um 06:53 schrieb Jane Chen jxche...@gmail.com:
I need a way to throw an exception from a