Searched defs:try_catch (Results 1 - 25 of 35) 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
273 v8::TryCatch try_catch; local
326 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.cc471 v8::TryCatch try_catch; local
474 v8::String::Utf8Value exception(try_catch.Exception());
480 v8::String::Utf8Value exception(try_catch.Exception());
/external/chromium_org/gin/test/
H A Dfile_runner.cc17 #include "gin/try_catch.h"
45 TryCatch& try_catch) {
46 ModuleRunnerDelegate::UnhandledException(runner, try_catch);
47 FAIL() << try_catch.GetStackTrace();
44 UnhandledException(ShellRunner* runner, TryCatch& try_catch) argument
/external/chromium_org/extensions/renderer/
H A Dutils_native_handler.cc77 v8::TryCatch try_catch; local
78 try_catch.SetCaptureMessage(true);
80 if (try_catch.HasCaught()) {
H A Dactivity_log_converter_strategy.cc35 v8::TryCatch try_catch; local
40 if (try_catch.HasCaught() || value.IsEmpty() || value->IsUndefined() ||
123 v8::TryCatch try_catch; local
142 if (try_catch.HasCaught()) {
H A Dmodule_system.cc71 // Fatally dumps the debug info from |try_catch| to the console.
74 virtual void HandleUncaughtException(const v8::TryCatch& try_catch) OVERRIDE {
77 if (!try_catch.StackTrace().IsEmpty()) {
78 v8::String::Utf8Value stack_value(try_catch.StackTrace());
84 Fatal(context_, CreateExceptionString(try_catch) + "{" + stack_trace + "}");
94 const v8::TryCatch& try_catch) {
95 v8::Handle<v8::Message> message(try_catch.Message());
97 return "try_catch has no message";
180 void ModuleSystem::HandleException(const v8::TryCatch& try_catch) { argument
181 exception_handler_->HandleUncaughtException(try_catch);
93 CreateExceptionString( const v8::TryCatch& try_catch) argument
259 v8::TryCatch try_catch; local
327 v8::TryCatch try_catch; local
402 v8::TryCatch try_catch; local
496 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 Dinterceptor_unittest.cc13 #include "gin/try_catch.h"
122 gin::TryCatch try_catch; local
131 EXPECT_FALSE(try_catch.HasCaught());
132 EXPECT_EQ("", try_catch.GetStackTrace());
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 Dwrappable_unittest.cc12 #include "gin/try_catch.h"
186 gin::TryCatch try_catch; local
197 EXPECT_FALSE(try_catch.HasCaught());
198 EXPECT_EQ("", try_catch.GetStackTrace());
212 gin::TryCatch try_catch; local
221 EXPECT_FALSE(try_catch.HasCaught());
241 gin::TryCatch try_catch; local
244 EXPECT_TRUE(try_catch.HasCaught());
257 gin::TryCatch try_catch; local
266 EXPECT_FALSE(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
H A Dmksnapshot.cc342 TryCatch try_catch; local
344 if (try_catch.HasCaught()) {
346 DumpException(try_catch.Message());
350 if (try_catch.HasCaught()) {
352 DumpException(try_catch.Message());
/external/skia/experimental/SkV8Example/
H A DJsContext.cpp121 v8::TryCatch try_catch; local
/external/chromium_org/chrome/test/base/
H A Dmodule_system_test.cc34 virtual void HandleUncaughtException(const v8::TryCatch& try_catch) OVERRIDE {
35 FAIL() << "Uncaught exception: " << CreateExceptionString(try_catch); variable
H A Dv8_unit_test.cc124 v8::TryCatch try_catch; local
220 v8::TryCatch try_catch; local
224 FAIL() << ExceptionToString(try_catch);
229 FAIL() << ExceptionToString(try_catch);
232 std::string V8UnitTest::ExceptionToString(const v8::TryCatch& try_catch) { argument
235 v8::String::Utf8Value exception(try_catch.Exception());
236 v8::Local<v8::Message> message(try_catch.Message());
264 v8::TryCatch try_catch; local
268 FAIL() << ExceptionToString(try_catch);
/external/chromium_org/content/renderer/pepper/
H A Dv8_var_converter.cc346 v8::TryCatch try_catch; local
348 if (try_catch.HasCaught()) {
381 v8::TryCatch try_catch; local
386 if (try_catch.HasCaught()) {
484 v8::TryCatch try_catch; local
486 if (try_catch.HasCaught())
536 v8::TryCatch try_catch; local
538 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.cc169 v8::TryCatch try_catch; local
175 ReportException(isolate, &try_catch);
181 v8::TryCatch try_catch; local
184 if (try_catch.HasCaught()) {
186 ReportException(isolate, &try_catch);
237 v8::TryCatch try_catch; local
240 if (try_catch.HasCaught()) {
242 ReportException(isolate, &try_catch);
292 void ReportException(v8::Isolate* isolate, v8::TryCatch* try_catch) { argument
294 v8::String::Utf8Value exception(try_catch
[all...]
H A Dshell.cc319 v8::TryCatch try_catch; local
325 ReportException(isolate, &try_catch);
330 assert(try_catch.HasCaught());
333 ReportException(isolate, &try_catch);
336 assert(!try_catch.HasCaught());
350 void ReportException(v8::Isolate* isolate, v8::TryCatch* try_catch) { argument
352 v8::String::Utf8Value exception(try_catch->Exception());
354 v8::Handle<v8::Message> message = try_catch->Message();
379 v8::String::Utf8Value stack_trace(try_catch->StackTrace());
H A Dprocess.cc213 TryCatch try_catch; local
218 String::Utf8Value error(try_catch.Exception());
228 String::Utf8Value error(try_catch.Exception());
274 TryCatch try_catch; local
284 String::Utf8Value error(try_catch.Exception());

Completed in 3352 milliseconds

12