Searched defs:try_catch (Results 1 - 25 of 36) 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.cc64 v8::TryCatch try_catch; local
80 CHECK(try_catch.HasCaught());
81 CHECK(try_catch.Exception()->IsNull());
82 CHECK(try_catch.Message().IsEmpty());
83 CHECK(!try_catch.CanContinue());
89 v8::TryCatch try_catch; local
97 CHECK(try_catch.HasCaught());
98 CHECK(try_catch.Exception()->IsNull());
99 CHECK(try_catch.Message().IsEmpty());
100 CHECK(!try_catch
220 v8::TryCatch try_catch; local
274 v8::TryCatch try_catch; local
327 v8::TryCatch try_catch; local
425 v8::TryCatch try_catch; local
[all...]
H A Dtest-accessors.cc554 v8::TryCatch try_catch; local
560 CHECK(!try_catch.HasCaught());
H A Dtest-log.cc484 v8::TryCatch try_catch; local
487 v8::String::Utf8Value exception(try_catch.Exception());
493 v8::String::Utf8Value exception(try_catch.Exception());
/external/chromium_org/gin/test/
H A Dfile_runner.cc19 #include "gin/try_catch.h"
48 TryCatch& try_catch) {
49 ModuleRunnerDelegate::UnhandledException(runner, try_catch);
50 FAIL() << try_catch.GetStackTrace();
47 UnhandledException(ShellRunner* runner, TryCatch& try_catch) argument
/external/chromium_org/extensions/renderer/
H A Dactivity_log_converter_strategy.cc20 v8::TryCatch try_catch; local
39 if (try_catch.HasCaught()) {
H A Dutils_native_handler.cc77 v8::TryCatch try_catch; local
78 try_catch.SetCaptureMessage(true);
80 if (try_catch.HasCaught()) {
H A Dmodule_system_test.cc30 virtual void HandleUncaughtException(const v8::TryCatch& try_catch) OVERRIDE {
31 FAIL() << "Uncaught exception: " << CreateExceptionString(try_catch); variable
H A Dmodule_system.cc72 // Fatally dumps the debug info from |try_catch| to the console.
75 virtual void HandleUncaughtException(const v8::TryCatch& try_catch) OVERRIDE {
78 if (!try_catch.StackTrace().IsEmpty()) {
79 v8::String::Utf8Value stack_value(try_catch.StackTrace());
85 Fatal(context_, CreateExceptionString(try_catch) + "{" + stack_trace + "}");
95 const v8::TryCatch& try_catch) {
96 v8::Handle<v8::Message> message(try_catch.Message());
98 return "try_catch has no message";
187 void ModuleSystem::HandleException(const v8::TryCatch& try_catch) { argument
188 exception_handler_->HandleUncaughtException(try_catch);
94 CreateExceptionString( const v8::TryCatch& try_catch) argument
287 v8::TryCatch try_catch; local
362 v8::TryCatch try_catch; local
456 v8::TryCatch try_catch; local
630 v8::TryCatch try_catch; local
[all...]
/external/chromium_org/mojo/apps/js/
H A Dmojo_runner_delegate.cc13 #include "gin/try_catch.h"
76 gin::TryCatch& try_catch) {
77 gin::ModuleRunnerDelegate::UnhandledException(runner, try_catch);
78 LOG(ERROR) << try_catch.GetStackTrace();
75 UnhandledException(gin::ShellRunner* runner, gin::TryCatch& try_catch) argument
/external/chromium_org/gin/
H A Dshell_runner.cc11 #include "gin/try_catch.h"
44 TryCatch& try_catch) {
45 CHECK(false) << try_catch.GetStackTrace();
68 TryCatch try_catch; local
72 if (try_catch.HasCaught()) {
73 delegate_->UnhandledException(this, try_catch);
84 TryCatch try_catch; local
90 if (try_catch.HasCaught())
91 delegate_->UnhandledException(this, try_catch);
101 TryCatch try_catch; local
43 UnhandledException(ShellRunner* runner, TryCatch& try_catch) argument
[all...]
H A Dinterceptor_unittest.cc13 #include "gin/try_catch.h"
143 gin::TryCatch try_catch; local
152 EXPECT_FALSE(try_catch.HasCaught());
153 EXPECT_EQ("", try_catch.GetStackTrace());
H A Dwrappable_unittest.cc12 #include "gin/try_catch.h"
189 gin::TryCatch try_catch; local
200 EXPECT_FALSE(try_catch.HasCaught());
201 EXPECT_EQ("", try_catch.GetStackTrace());
215 gin::TryCatch try_catch; local
224 EXPECT_FALSE(try_catch.HasCaught());
238 gin::TryCatch try_catch; local
247 EXPECT_FALSE(try_catch.HasCaught());
261 gin::TryCatch try_catch; local
270 EXPECT_TRUE(try_catch
[all...]
/external/chromium_org/third_party/skia/experimental/SkV8Example/
H A DJsContext.cpp121 v8::TryCatch try_catch; local
/external/chromium_org/v8/src/
H A Dd8-debug.cc28 TryCatch try_catch; local
37 if (try_catch.HasCaught()) {
38 Shell::ReportException(isolate, &try_catch);
45 if (try_catch.HasCaught()) {
46 Shell::ReportException(isolate, &try_catch);
63 if (try_catch.HasCaught()) {
64 Shell::ReportException(isolate, &try_catch);
79 TryCatch try_catch; local
84 if (try_catch.HasCaught()) {
85 Shell::ReportException(isolate, &try_catch);
[all...]
H A Dmessages.cc116 v8::TryCatch try_catch; local
/external/skia/experimental/SkV8Example/
H A DJsContext.cpp121 v8::TryCatch try_catch; local
/external/chromium_org/v8/test/cctest/compiler/
H A Dfunction-tester.h92 TryCatch try_catch; local
95 CHECK(try_catch.HasCaught());
103 TryCatch try_catch; local
106 CHECK(try_catch.HasCaught());
110 // exception has been caught by the try_catch.
112 return try_catch.Message();
/external/chromium_org/chrome/test/base/
H A Dv8_unit_test.cc126 v8::TryCatch try_catch; local
225 v8::TryCatch try_catch; local
229 FAIL() << ExceptionToString(try_catch);
234 FAIL() << ExceptionToString(try_catch);
237 std::string V8UnitTest::ExceptionToString(const v8::TryCatch& try_catch) { argument
240 v8::String::Utf8Value exception(try_catch.Exception());
241 v8::Local<v8::Message> message(try_catch.Message());
270 v8::TryCatch try_catch; local
274 FAIL() << ExceptionToString(try_catch);
/external/chromium_org/content/renderer/pepper/
H A Dv8_var_converter.cc395 v8::TryCatch try_catch; local
397 if (try_catch.HasCaught()) {
431 v8::TryCatch try_catch; local
436 if (try_catch.HasCaught()) {
536 v8::TryCatch try_catch; local
538 if (try_catch.HasCaught())
590 v8::TryCatch try_catch; local
592 if (try_catch.HasCaught())
/external/chromium_org/content/renderer/
H A Dv8_value_converter_impl.cc238 v8::TryCatch try_catch; local
240 if (try_catch.HasCaught())
260 v8::TryCatch try_catch; local
265 if (try_catch.HasCaught()) {
399 v8::TryCatch try_catch; local
401 if (try_catch.HasCaught()) {
512 v8::TryCatch try_catch; local
515 if (try_catch.HasCaught()) {
H A Dv8_value_converter_impl_unittest.cc657 v8::TryCatch try_catch; local
662 ASSERT_FALSE(try_catch.HasCaught());
/external/chromium_org/v8/samples/
H A Dlineprocessor.cc170 v8::TryCatch try_catch; local
176 ReportException(isolate, &try_catch);
182 v8::TryCatch try_catch; local
185 if (try_catch.HasCaught()) {
187 ReportException(isolate, &try_catch);
238 v8::TryCatch try_catch; local
241 if (try_catch.HasCaught()) {
243 ReportException(isolate, &try_catch);
298 void ReportException(v8::Isolate* isolate, v8::TryCatch* try_catch) { argument
300 v8::String::Utf8Value exception(try_catch
[all...]
H A Dshell.cc327 v8::TryCatch try_catch; local
333 ReportException(isolate, &try_catch);
338 assert(try_catch.HasCaught());
341 ReportException(isolate, &try_catch);
344 assert(!try_catch.HasCaught());
358 void ReportException(v8::Isolate* isolate, v8::TryCatch* try_catch) { argument
360 v8::String::Utf8Value exception(try_catch->Exception());
362 v8::Handle<v8::Message> message = try_catch->Message();
387 v8::String::Utf8Value stack_trace(try_catch->StackTrace());
H A Dprocess.cc215 TryCatch try_catch; local
220 String::Utf8Value error(try_catch.Exception());
230 String::Utf8Value error(try_catch.Exception());
276 TryCatch try_catch; local
286 String::Utf8Value error(try_catch.Exception());

Completed in 523 milliseconds

12