v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 2410 | skipping to change at line 2410 | |||
* is termination exception. Such exceptions are thrown when the | * is termination exception. Such exceptions are thrown when the | |||
* TerminateExecution methods are called to terminate a long-running | * TerminateExecution methods are called to terminate a long-running | |||
* script. | * script. | |||
* | * | |||
* If CanContinue returns false, the correct action is to perform | * If CanContinue returns false, the correct action is to perform | |||
* any C++ cleanup needed and then return. | * any C++ cleanup needed and then return. | |||
*/ | */ | |||
bool CanContinue() const; | 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 | * Returns the exception caught by this try/catch block. If no exception has | |||
* been caught an empty handle is returned. | * been caught an empty handle is returned. | |||
* | * | |||
* The returned handle is valid until this TryCatch block has been destro yed. | * The returned handle is valid until this TryCatch block has been destro yed. | |||
*/ | */ | |||
Local<Value> Exception() const; | Local<Value> Exception() const; | |||
/** | /** | |||
* Returns the .stack property of the thrown object. If no .stack | * Returns the .stack property of the thrown object. If no .stack | |||
* property is present an empty handle is returned. | * property is present an empty handle is returned. | |||
skipping to change at line 2464 | skipping to change at line 2473 | |||
* Set whether or not this TryCatch should capture a Message object | * Set whether or not this TryCatch should capture a Message object | |||
* which holds source information about where the exception | * which holds source information about where the exception | |||
* occurred. True by default. | * occurred. True by default. | |||
*/ | */ | |||
void SetCaptureMessage(bool value); | void SetCaptureMessage(bool value); | |||
public: | public: | |||
TryCatch* next_; | TryCatch* next_; | |||
void* exception_; | void* exception_; | |||
void* message_; | void* message_; | |||
bool is_verbose_; | bool is_verbose_ : 1; | |||
bool can_continue_; | bool can_continue_ : 1; | |||
bool capture_message_; | bool capture_message_ : 1; | |||
bool rethrow_ : 1; | ||||
void* js_handler_; | void* js_handler_; | |||
}; | }; | |||
// --- C o n t e x t --- | // --- C o n t e x t --- | |||
/** | /** | |||
* Ignore | * Ignore | |||
*/ | */ | |||
class V8EXPORT ExtensionConfiguration { | class V8EXPORT ExtensionConfiguration { | |||
public: | public: | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 13 lines changed or added | |||