Home
last modified time | relevance | path

Searched refs:try_catch (Results 1 – 14 of 14) sorted by relevance

/external/webkit/V8Binding/v8/src/
Dd8-debug.cc49 TryCatch try_catch; in HandleDebugEvent() local
56 if (try_catch.HasCaught()) { in HandleDebugEvent()
57 Shell::ReportException(&try_catch); in HandleDebugEvent()
64 if (try_catch.HasCaught()) { in HandleDebugEvent()
65 Shell::ReportException(&try_catch); in HandleDebugEvent()
80 if (try_catch.HasCaught()) { in HandleDebugEvent()
81 Shell::ReportException(&try_catch); in HandleDebugEvent()
96 TryCatch try_catch; in HandleDebugEvent() local
101 if (try_catch.HasCaught()) { in HandleDebugEvent()
102 Shell::ReportException(&try_catch); in HandleDebugEvent()
[all …]
Dd8.cc116 TryCatch try_catch; in ExecuteString() local
119 try_catch.SetVerbose(true); in ExecuteString()
125 ReportException(&try_catch); in ExecuteString()
132 ReportException(&try_catch); in ExecuteString()
232 void Shell::ReportException(v8::TryCatch* try_catch) { in ReportException() argument
234 v8::String::Utf8Value exception(try_catch->Exception()); in ReportException()
236 Handle<Message> message = try_catch->Message(); in ReportException()
Dtop.cc715 v8::TryCatch* try_catch = thread_local_.try_catch_handler_; in ShouldReturnException() local
722 *is_caught_externally = try_catch != NULL && in ShouldReturnException()
723 (handler == NULL || handler == try_catch->js_handler_ || in ShouldReturnException()
Ddebug.cc2204 v8::TryCatch try_catch; in NotifyMessageHandler() local
2207 if (try_catch.HasCaught()) { in NotifyMessageHandler()
2208 PrintLn(try_catch.Exception()); in NotifyMessageHandler()
2240 v8::TryCatch try_catch; in NotifyMessageHandler() local
2253 if (!try_catch.HasCaught()) { in NotifyMessageHandler()
2273 if (!try_catch.HasCaught()) { in NotifyMessageHandler()
2278 response = try_catch.Exception()->ToString(); in NotifyMessageHandler()
Dd8.h120 static void ReportException(TryCatch* try_catch);
Dapi.cc3379 TryCatch try_catch; in Utf8Value() local
3406 TryCatch try_catch; in AsciiValue() local
3433 TryCatch try_catch; in Value() local
/external/webkit/V8Binding/v8/test/cctest/
Dtest-thread-termination.cc63 v8::TryCatch try_catch; in DoLoop() local
77 CHECK(try_catch.HasCaught()); in DoLoop()
78 CHECK(try_catch.Exception()->IsNull()); in DoLoop()
79 CHECK(try_catch.Message().IsEmpty()); in DoLoop()
80 CHECK(!try_catch.CanContinue()); in DoLoop()
213 v8::TryCatch try_catch; in LoopGetProperty() local
225 CHECK(try_catch.HasCaught()); in LoopGetProperty()
226 CHECK(try_catch.Exception()->IsNull()); in LoopGetProperty()
227 CHECK(try_catch.Message().IsEmpty()); in LoopGetProperty()
228 CHECK(!try_catch.CanContinue()); in LoopGetProperty()
Dtest-api.cc261 v8::TryCatch try_catch; in THREADED_TEST() local
267 CHECK(try_catch.HasCaught()); in THREADED_TEST()
268 try_catch.Reset(); in THREADED_TEST()
277 CHECK(try_catch.HasCaught()); in THREADED_TEST()
1503 v8::TryCatch try_catch; in THREADED_TEST() local
1506 CHECK(try_catch.HasCaught()); in THREADED_TEST()
1507 String::AsciiValue exception_value(try_catch.Exception()); in THREADED_TEST()
1872 static void CheckUncle(v8::TryCatch* try_catch) { in CheckUncle() argument
1873 CHECK(try_catch->HasCaught()); in CheckUncle()
1874 String::AsciiValue str_value(try_catch->Exception()); in CheckUncle()
[all …]
Dtest-debug.cc244 v8::TryCatch try_catch; in SetScriptBreakPointByIdFromJS() local
247 CHECK(!try_catch.HasCaught()); in SetScriptBreakPointByIdFromJS()
271 v8::TryCatch try_catch; in SetScriptBreakPointByNameFromJS() local
274 CHECK(!try_catch.HasCaught()); in SetScriptBreakPointByNameFromJS()
/external/webkit/V8Binding/binding/
DJSXPathNSResolver.cpp67 v8::TryCatch try_catch; in lookupNamespaceURI() local
68 try_catch.SetVerbose(true); // Print exceptions to console. in lookupNamespaceURI()
81 if (try_catch.HasCaught()) { in lookupNamespaceURI()
/external/webkit/WebCore/bindings/v8/custom/
DV8CustomXPathNSResolver.cpp74 v8::TryCatch try_catch; in lookupNamespaceURI() local
75 try_catch.SetVerbose(true); // Print exceptions to console. in lookupNamespaceURI()
85 if (try_catch.HasCaught()) in lookupNamespaceURI()
DV8HTMLOptionsCollectionCustom.cpp69 v8::TryCatch try_catch; in CALLBACK_FUNC_DECL() local
72 if (try_catch.HasCaught()) in CALLBACK_FUNC_DECL()
/external/webkit/V8Binding/v8/samples/
Dshell.cc245 v8::TryCatch try_catch; in ExecuteString() local
250 ReportException(&try_catch); in ExecuteString()
257 ReportException(&try_catch); in ExecuteString()
273 void ReportException(v8::TryCatch* try_catch) { in ReportException() argument
275 v8::String::Utf8Value exception(try_catch->Exception()); in ReportException()
277 v8::Handle<v8::Message> message = try_catch->Message(); in ReportException()
Dprocess.cc202 TryCatch try_catch; in ExecuteScript() local
207 String::Utf8Value error(try_catch.Exception()); in ExecuteScript()
217 String::Utf8Value error(try_catch.Exception()); in ExecuteScript()
255 TryCatch try_catch; in Process() local
263 String::Utf8Value error(try_catch.Exception()); in Process()