[api] Fix TryCatch comment
TryCatch creates normal handles for Exception and Message objects. Bug: v8:10537 Change-Id: I6ccd531242bfdc7a97ff5d8314d2f31086a28b07 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2284490 Reviewed-by: Toon Verwaest <verwaest@chromium.org> Commit-Queue: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/master@{#68764}
This commit is contained in:
parent
e13967c3c3
commit
3353502322
@ -10089,8 +10089,6 @@ class V8_EXPORT TryCatch {
|
||||
/**
|
||||
* Returns the exception caught by this try/catch block. If no exception has
|
||||
* been caught an empty handle is returned.
|
||||
*
|
||||
* The returned handle is valid until this TryCatch block has been destroyed.
|
||||
*/
|
||||
Local<Value> Exception() const;
|
||||
|
||||
@ -10112,9 +10110,6 @@ class V8_EXPORT TryCatch {
|
||||
/**
|
||||
* Returns the message associated with this exception. If there is
|
||||
* no message associated an empty handle is returned.
|
||||
*
|
||||
* The returned handle is valid until this TryCatch block has been
|
||||
* destroyed.
|
||||
*/
|
||||
Local<v8::Message> Message() const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user