Home
last modified time | relevance | path

Searched refs:try_catch (Results 1 - 25 of 34) sorted by relevance

12

/third_party/node/src/
H A Djs_stream.cc47 TryCatchScope try_catch(env()); in IsClosing()
50 if (try_catch.HasCaught() && !try_catch.HasTerminated()) in IsClosing()
51 errors::TriggerUncaughtException(env()->isolate(), try_catch); in IsClosing()
61 TryCatchScope try_catch(env()); in ReadStart()
66 if (try_catch.HasCaught() && !try_catch.HasTerminated()) in ReadStart()
67 errors::TriggerUncaughtException(env()->isolate(), try_catch); in ReadStart()
76 TryCatchScope try_catch(env()); in ReadStop()
81 if (try_catch in ReadStop()
[all...]
H A Djs_udp_wrap.cc65 TryCatchScope try_catch(env()); in RecvStart()
70 if (try_catch.HasCaught() && !try_catch.HasTerminated()) in RecvStart()
71 errors::TriggerUncaughtException(env()->isolate(), try_catch); in RecvStart()
79 TryCatchScope try_catch(env()); in RecvStop()
84 if (try_catch.HasCaught() && !try_catch.HasTerminated()) in RecvStop()
85 errors::TriggerUncaughtException(env()->isolate(), try_catch); in RecvStop()
95 TryCatchScope try_catch(env()); in Send()
119 if (try_catch in Send()
[all...]
H A Dmodule_wrap.cc152 TryCatchScope try_catch(env); in New()
206 if (try_catch.HasCaught() && !try_catch.HasTerminated()) { in New()
207 CHECK(!try_catch.Message().IsEmpty()); in New()
208 CHECK(!try_catch.Exception().IsEmpty()); in New()
209 AppendExceptionLine(env, try_catch.Exception(), try_catch.Message(), in New()
211 try_catch.ReThrow(); in New()
219 try_catch.ReThrow(); in New()
342 TryCatchScope try_catch(en in Instantiate()
[all...]
H A Dnode_errors.cc56 v8::TryCatch try_catch(isolate); in GetSourceMapErrorSource()
75 DCHECK(try_catch.HasCaught()); in GetSourceMapErrorSource()
265 const v8::TryCatch& try_catch) { in FormatCaughtException()
266 CHECK(try_catch.HasCaught()); in FormatCaughtException()
268 isolate, context, try_catch.Exception(), try_catch.Message()); in FormatCaughtException()
273 const v8::TryCatch& try_catch) { in PrintCaughtException()
274 PrintToStderrAndFlush(FormatCaughtException(isolate, context, try_catch)); in PrintCaughtException()
564 errors::TryCatchScope try_catch(env); in ModifyCodeGenerationFromStrings()
572 DCHECK(try_catch in ModifyCodeGenerationFromStrings()
263 FormatCaughtException(Isolate* isolate, Local<Context> context, const v8::TryCatch& try_catch) FormatCaughtException() argument
271 PrintCaughtException(Isolate* isolate, Local<Context> context, const v8::TryCatch& try_catch) PrintCaughtException() argument
1050 DecorateErrorStack(Environment* env, const errors::TryCatchScope& try_catch) DecorateErrorStack() argument
1181 TriggerUncaughtException(Isolate* isolate, const v8::TryCatch& try_catch) TriggerUncaughtException() argument
[all...]
H A Dnode_task_queue.cc118 TryCatchScope try_catch(env); in PromiseRejectCallback()
156 if (try_catch.HasCaught() && !try_catch.HasTerminated()) { in PromiseRejectCallback()
158 PrintCaughtException(isolate, env->context(), try_catch); in PromiseRejectCallback()
H A Dnode_contextify.cc388 TryCatchScope try_catch(env); in MakeContext()
392 if (try_catch.HasCaught()) { in MakeContext()
393 if (!try_catch.HasTerminated()) in MakeContext()
394 try_catch.ReThrow(); in MakeContext()
860 TryCatchScope try_catch(env); in New()
869 errors::DecorateErrorStack(env, try_catch); in New()
871 if (!try_catch.HasTerminated()) in New()
872 try_catch.ReThrow(); in New()
1055 TryCatchScope try_catch(env); in EvalMachine()
1107 if (try_catch in EvalMachine()
[all...]
H A Dudp_wrap.cc741 TryCatchScope try_catch(env); in OnRecv()
743 DCHECK(try_catch.HasCaught() && !try_catch.HasTerminated()); in OnRecv()
744 argv[2] = try_catch.Exception(); in OnRecv()
760 TryCatchScope try_catch(env); in OnRecv()
762 DCHECK(try_catch.HasCaught() && !try_catch.HasTerminated()); in OnRecv()
763 argv[2] = try_catch.Exception(); in OnRecv()
H A Dnode_errors.h265 const v8::TryCatch& try_catch);
276 const errors::TryCatchScope& try_catch);
H A Denv.cc535 TryCatchScope try_catch(env_); in UpdateTraceCategoryState()
536 try_catch.SetVerbose(true); in UpdateTraceCategoryState()
809 TryCatch try_catch(isolate()); in ~Environment()
1096 TryCatchScope try_catch(this); in RunAndClearNativeImmediates()
1106 head.reset(); // Destroy now so that this is also observed by try_catch. in RunAndClearNativeImmediates()
1108 if (UNLIKELY(try_catch.HasCaught())) { in RunAndClearNativeImmediates()
1109 if (!try_catch.HasTerminated() && can_call_into_js()) in RunAndClearNativeImmediates()
1110 errors::TriggerUncaughtException(isolate(), try_catch); in RunAndClearNativeImmediates()
1207 TryCatchScope try_catch(env); in RunTimers()
1208 try_catch in RunTimers()
[all...]
H A Dinspector_agent.cc898 v8::TryCatch try_catch(isolate); in ToggleAsyncHook()
900 if (try_catch.HasCaught() && !try_catch.HasTerminated()) { in ToggleAsyncHook()
901 PrintCaughtException(isolate, context, try_catch); in ToggleAsyncHook()
H A Djs_native_api_v8.h280 (env), try_catch.HasCaught() ? JSVM_PENDING_EXCEPTION : (status)); \
313 // JSVM_PREAMBLE is not wrapped in do..while: try_catch must have function scope
324 v8impl::TryCatch try_catch((env))
364 (!try_catch.HasCaught() \
H A Dnode_internals.h85 const v8::TryCatch& try_catch);
88 const v8::TryCatch& try_catch);
H A Dstream_wrap.cc211 TryCatchScope try_catch(wrap->env()); in ReadStart()
212 try_catch.SetVerbose(true); in ReadStart()
H A Dasync_wrap.cc69 TryCatchScope try_catch(env, TryCatchScope::CatchMode::kFatal); in DestroyAsyncIdsCallback()
98 TryCatchScope try_catch(env, TryCatchScope::CatchMode::kFatal); in Emit()
652 TryCatchScope try_catch(env, TryCatchScope::CatchMode::kFatal); in EmitAsyncInit()
H A Dnode_messaging.cc799 TryCatchScope try_catch(env()); in OnMessage()
801 if (try_catch.HasCaught() && !try_catch.HasTerminated()) in OnMessage()
802 message_error = try_catch.Exception(); in OnMessage()
/third_party/node/test/addons/async-hello-world/
H A Dbinding.cc32 v8::TryCatch try_catch(isolate); in AfterAsync()
55 if (try_catch.HasCaught()) { in AfterAsync()
56 node::FatalException(isolate, try_catch); in AfterAsync()
/third_party/node/deps/v8/src/d8/
H A Dd8-console.cc82 v8::TryCatch try_catch(isolate_); in Time()
107 v8::TryCatch try_catch(isolate_); in TimeEnd()
129 v8::TryCatch try_catch(isolate_); in TimeStamp()
H A Dasync-hooks-wrapper.cc181 TryCatch try_catch(isolate); in ShellPromiseHook()
182 try_catch.SetVerbose(true); in ShellPromiseHook()
230 if (try_catch.HasCaught()) break; in ShellPromiseHook()
232 if (try_catch.HasCaught()) Shell::ReportException(isolate, &try_catch); in ShellPromiseHook()
H A Dd8.cc721 TryCatch try_catch(isolate); in ExecuteString()
722 try_catch.SetVerbose(report_exceptions == kReportExceptions); in ExecuteString()
799 CHECK(try_catch.HasCaught()); in ExecuteString()
800 ReportException(isolate, &try_catch); in ExecuteString()
811 CHECK(try_catch.HasCaught()); in ExecuteString()
822 DCHECK(try_catch.HasCaught()); in ExecuteString()
826 if (try_catch.HasCaught()) success = false; in ExecuteString()
1136 TryCatch try_catch(isolate); in JSONModuleEvaluationSteps()
1144 CHECK(!try_catch.HasCaught()); in JSONModuleEvaluationSteps()
1299 TryCatch try_catch(isolat in DoHostImportModuleDynamically()
2807 ReportException(v8::Isolate* isolate, v8::TryCatch* try_catch) ReportException() argument
[all...]
/third_party/node/src/api/
H A Dexceptions.cc246 void FatalException(Isolate* isolate, const v8::TryCatch& try_catch) { in FatalException() argument
247 errors::TriggerUncaughtException(isolate, try_catch); in FatalException()
H A Denvironment.cc92 TryCatchScope try_catch(env); in PrepareStackTraceCallback()
95 if (try_catch.HasCaught() && !try_catch.HasTerminated()) { in PrepareStackTraceCallback()
96 try_catch.ReThrow(); in PrepareStackTraceCallback()
/third_party/node/src/crypto/
H A Dcrypto_util.cc142 TryCatch try_catch{isolate}; in InitCryptoOnce()
144 if (try_catch.HasCaught() && !try_catch.HasTerminated()) { in InitCryptoOnce()
145 try_catch.ReThrow(); in InitCryptoOnce()
H A Dcrypto_util.h375 node::errors::TryCatchScope try_catch(env);
378 CHECK(try_catch.HasCaught());
379 exception = try_catch.Exception();
/third_party/node/deps/v8/src/debug/
H A Dliveedit.cc758 v8::TryCatch try_catch(reinterpret_cast<v8::Isolate*>(isolate)); in ParseScript()
776 DCHECK(try_catch.HasCaught()); in ParseScript()
777 result->message = try_catch.Message()->Get(); in ParseScript()
778 auto self = Utils::OpenHandle(*try_catch.Message()); in ParseScript()
/third_party/node/deps/v8/src/snapshot/
H A Dsnapshot.cc712 v8::TryCatch try_catch(isolate); in RunExtraCode()
725 CHECK(!try_catch.HasCaught()); in RunExtraCode()

Completed in 42 milliseconds

12