| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index 5f3b68b2272807206fb2f9592ab8f8ba99e5ec3b..c372d0cea94e2c46f3dea29c6b1af529ec9182c8 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -2473,6 +2473,15 @@ class V8EXPORT TryCatch {
|
| bool CanContinue() const;
|
|
|
| /**
|
| + * Throws the exception caught by this TryCatch in a way that avoids
|
| + * it being caught again by this same TryCatch. As with ThrowException
|
| + * it is illegal to execute any JavaScript operations after calling
|
| + * ReThrow; the caller must return immediately to where the exception
|
| + * is caught.
|
| + */
|
| + Handle<Value> ReThrow();
|
| +
|
| + /**
|
| * Returns the exception caught by this try/catch block. If no exception has
|
| * been caught an empty handle is returned.
|
| *
|
| @@ -2527,9 +2536,10 @@ class V8EXPORT TryCatch {
|
| TryCatch* next_;
|
| void* exception_;
|
| void* message_;
|
| - bool is_verbose_;
|
| - bool can_continue_;
|
| - bool capture_message_;
|
| + bool is_verbose_ : 1;
|
| + bool can_continue_ : 1;
|
| + bool capture_message_ : 1;
|
| + bool rethrow_ : 1;
|
| void* js_handler_;
|
| };
|
|
|
|
|