Index: include/v8.h |
=================================================================== |
--- include/v8.h (revision 3201) |
+++ include/v8.h (working copy) |
@@ -2473,6 +2473,15 @@ |
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 @@ |
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_; |
}; |