Searched defs:try_catch (Results 1 - 25 of 42) sorted by relevance

12

/external/chromium_org/v8/test/cctest/
H A Dtest-global-object.cc40 v8::TryCatch try_catch; local
48 CHECK(try_catch.HasCaught());
49 v8::String::Utf8Value exception(try_catch.Exception());
H A Dtest-thread-termination.cc63 v8::TryCatch try_catch; local
79 CHECK(try_catch.HasCaught());
80 CHECK(try_catch.Exception()->IsNull());
81 CHECK(try_catch.Message().IsEmpty());
82 CHECK(!try_catch.CanContinue());
88 v8::TryCatch try_catch; local
96 CHECK(try_catch.HasCaught());
97 CHECK(try_catch.Exception()->IsNull());
98 CHECK(try_catch.Message().IsEmpty());
99 CHECK(!try_catch
219 v8::TryCatch try_catch; local
272 v8::TryCatch try_catch; local
324 v8::TryCatch try_catch; local
[all...]
H A Dtest-accessors.cc578 v8::TryCatch try_catch; local
582 CHECK(!try_catch.HasCaught());
H A Dtest-log.cc465 v8::TryCatch try_catch; local
468 v8::String::Utf8Value exception(try_catch.Exception());
474 v8::String::Utf8Value exception(try_catch.Exception());
/external/chromium_org/gin/test/
H A Dfile_runner.cc15 #include "gin/try_catch.h"
42 TryCatch& try_catch) {
43 ModuleRunnerDelegate::UnhandledException(runner, try_catch);
44 FAIL() << try_catch.GetStackTrace();
41 UnhandledException(Runner* runner, TryCatch& try_catch) argument
/external/chromium_org/mojo/apps/js/
H A Dmojo_runner_delegate.cc12 #include "gin/try_catch.h"
69 gin::TryCatch& try_catch) {
70 gin::ModuleRunnerDelegate::UnhandledException(runner, try_catch);
71 LOG(ERROR) << try_catch.GetStackTrace();
68 UnhandledException(gin::Runner* runner, gin::TryCatch& try_catch) argument
/external/chromium_org/gin/
H A Dwrappable_unittest.cc12 #include "gin/try_catch.h"
132 gin::TryCatch try_catch; local
143 EXPECT_FALSE(try_catch.HasCaught());
144 EXPECT_EQ("", try_catch.GetStackTrace());
H A Drunner.cc9 #include "gin/try_catch.h"
39 void RunnerDelegate::UnhandledException(Runner* runner, TryCatch& try_catch) { argument
67 TryCatch try_catch; local
73 if (try_catch.HasCaught())
74 delegate_->UnhandledException(this, try_catch);
81 TryCatch try_catch; local
87 if (try_catch.HasCaught())
88 delegate_->UnhandledException(this, try_catch);
/external/chromium_org/chrome/test/base/
H A Dmodule_system_test.cc33 virtual void HandleUncaughtException(const v8::TryCatch& try_catch) OVERRIDE {
34 FAIL() << "Uncaught exception: " << CreateExceptionString(try_catch); variable
H A Dv8_unit_test.cc126 v8::TryCatch try_catch; local
222 v8::TryCatch try_catch; local
226 FAIL() << ExceptionToString(try_catch);
231 FAIL() << ExceptionToString(try_catch);
234 std::string V8UnitTest::ExceptionToString(const v8::TryCatch& try_catch) { argument
237 v8::String::Utf8Value exception(try_catch.Exception());
238 v8::Local<v8::Message> message(try_catch.Message());
266 v8::TryCatch try_catch; local
270 FAIL() << ExceptionToString(try_catch);
/external/chromium_org/v8/src/
H A Dmessages.cc145 v8::TryCatch try_catch; local
H A Dd8-debug.cc63 TryCatch try_catch; local
72 if (try_catch.HasCaught()) {
73 Shell::ReportException(isolate, &try_catch);
80 if (try_catch.HasCaught()) {
81 Shell::ReportException(isolate, &try_catch);
98 if (try_catch.HasCaught()) {
99 Shell::ReportException(isolate, &try_catch);
114 TryCatch try_catch; local
119 if (try_catch.HasCaught()) {
120 Shell::ReportException(isolate, &try_catch);
279 TryCatch try_catch; local
310 TryCatch try_catch; local
[all...]
H A Dmksnapshot.cc336 TryCatch try_catch; local
338 if (try_catch.HasCaught()) {
340 DumpException(try_catch.Message());
344 if (try_catch.HasCaught()) {
346 DumpException(try_catch.Message());
/external/v8/src/
H A Dmessages.cc133 v8::TryCatch try_catch; local
H A Dd8-debug.cc64 TryCatch try_catch; local
71 if (try_catch.HasCaught()) {
72 Shell::ReportException(&try_catch);
79 if (try_catch.HasCaught()) {
80 Shell::ReportException(&try_catch);
95 if (try_catch.HasCaught()) {
96 Shell::ReportException(&try_catch);
111 TryCatch try_catch; local
116 if (try_catch.HasCaught()) {
117 Shell::ReportException(&try_catch);
280 TryCatch try_catch; local
309 TryCatch try_catch; local
[all...]
/external/v8/test/cctest/
H A Dtest-thread-termination.cc67 v8::TryCatch try_catch; local
82 CHECK(try_catch.HasCaught());
83 CHECK(try_catch.Exception()->IsNull());
84 CHECK(try_catch.Message().IsEmpty());
85 CHECK(!try_catch.CanContinue());
92 v8::TryCatch try_catch; local
99 CHECK(try_catch.HasCaught());
100 CHECK(try_catch.Exception()->IsNull());
101 CHECK(try_catch.Message().IsEmpty());
102 CHECK(!try_catch
280 v8::TryCatch try_catch; local
329 v8::TryCatch try_catch; local
[all...]
H A Dtest-log.cc514 v8::TryCatch try_catch; local
517 v8::String::Utf8Value exception(try_catch.Exception());
523 v8::String::Utf8Value exception(try_catch.Exception());
/external/chromium_org/content/renderer/pepper/
H A Dv8_var_converter.cc337 v8::TryCatch try_catch; local
339 if (try_catch.HasCaught()) {
367 v8::TryCatch try_catch; local
373 if (try_catch.HasCaught()) {
443 v8::TryCatch try_catch; local
445 if (try_catch.HasCaught()) {
499 v8::TryCatch try_catch; local
501 if (try_catch.HasCaught()) {
/external/chromium_org/content/renderer/
H A Dv8_value_converter_impl.cc192 v8::TryCatch try_catch; local
194 if (try_catch.HasCaught())
212 v8::TryCatch try_catch; local
217 if (try_catch.HasCaught()) {
333 v8::TryCatch try_catch; local
335 if (try_catch.HasCaught()) {
428 v8::TryCatch try_catch; local
431 if (try_catch.HasCaught()) {
H A Dv8_value_converter_impl_unittest.cc640 v8::TryCatch try_catch; local
645 ASSERT_FALSE(try_catch.HasCaught());
/external/chromium_org/v8/samples/
H A Dlineprocessor.cc240 v8::TryCatch try_catch; local
245 ReportException(isolate, &try_catch);
251 v8::TryCatch try_catch; local
254 if (try_catch.HasCaught()) {
256 ReportException(isolate, &try_catch);
310 v8::TryCatch try_catch; local
313 if (try_catch.HasCaught()) {
315 ReportException(isolate, &try_catch);
365 void ReportException(v8::Isolate* isolate, v8::TryCatch* try_catch) { argument
367 v8::String::Utf8Value exception(try_catch
[all...]
H A Dshell.cc306 v8::TryCatch try_catch; local
311 ReportException(isolate, &try_catch);
316 assert(try_catch.HasCaught());
319 ReportException(isolate, &try_catch);
322 assert(!try_catch.HasCaught());
336 void ReportException(v8::Isolate* isolate, v8::TryCatch* try_catch) { argument
338 v8::String::Utf8Value exception(try_catch->Exception());
340 v8::Handle<v8::Message> message = try_catch->Message();
365 v8::String::Utf8Value stack_trace(try_catch->StackTrace());
/external/v8/samples/
H A Dlineprocessor.cc241 v8::TryCatch try_catch; local
246 ReportException(&try_catch);
252 v8::TryCatch try_catch; local
255 if (try_catch.HasCaught()) {
257 ReportException(&try_catch);
308 v8::TryCatch try_catch; local
311 if (try_catch.HasCaught()) {
313 ReportException(&try_catch);
360 void ReportException(v8::TryCatch* try_catch) { argument
362 v8::String::Utf8Value exception(try_catch
[all...]
H A Dshell.cc272 v8::TryCatch try_catch; local
277 ReportException(&try_catch);
282 assert(try_catch.HasCaught());
285 ReportException(&try_catch);
288 assert(!try_catch.HasCaught());
302 void ReportException(v8::TryCatch* try_catch) { argument
304 v8::String::Utf8Value exception(try_catch->Exception());
306 v8::Handle<v8::Message> message = try_catch->Message();
331 v8::String::Utf8Value stack_trace(try_catch->StackTrace());
/external/chromium/net/proxy/
H A Dproxy_resolver_v8.cc369 v8::TryCatch try_catch; local
373 if (try_catch.HasCaught()) {
374 HandleError(try_catch.Message());
513 v8::TryCatch try_catch; local
525 if (try_catch.HasCaught()) {
526 HandleError(try_catch.Message());

Completed in 2248 milliseconds

12