Lines Matching defs:exception
443 // The pending exception can sometimes be a failure. We can't show
532 // Capture stack trace for a detailed exception message.
902 Handle<Object> exception = Copy(boilerplate);
905 // double fault with another stack overflow exception, we use a
907 DoThrow(*exception, NULL);
908 return Failure::Exception();
914 return Failure::Exception();
918 Failure* Isolate::Throw(Object* exception, MessageLocation* location) {
919 DoThrow(exception, location);
920 return Failure::Exception();
924 Failure* Isolate::ReThrow(MaybeObject* exception, MessageLocation* location) {
926 bool catchable_by_javascript = is_catchable_by_javascript(exception);
932 // Set the exception being re-thrown.
933 set_pending_exception(exception);
934 if (exception->IsFailure()) return exception->ToFailureUnchecked();
935 return Failure::Exception();
944 void Isolate::ScheduleThrow(Object* exception) {
945 // When scheduling a throw we first throw the exception to get the
947 Throw(exception);
957 // Re-throw the exception to avoid getting repeated error reporting.
1022 // The exception has been externally caught if and only if there is
1030 // Only report the exception if the external handler is verbose.
1033 // Report the exception if it isn't caught by JavaScript code.
1057 void Isolate::DoThrow(Object* exception, MessageLocation* location) {
1061 Handle<Object> exception_handle(exception);
1063 // Determine reporting and whether the exception is caught externally.
1064 bool catchable_by_javascript = is_catchable_by_javascript(exception);
1074 // Notify debugger of exception.
1139 // Save the message for reporting if the the exception remains uncaught.
1142 // Do not forget to clean catcher_ if currently thrown exception cannot
1156 // When throwing the exception, we found no v8::TryCatch
1157 // which should care about this exception.
1171 // The exception has been externally caught if and only if there is
1177 // Note, that finally clause would rethrow an exception unless it's
1197 // If the pending exception is OutOfMemoryException set out_of_memory in
1206 // Do nothing: if needed, the exception has been already propagated to
1244 // Do not reschedule the exception if this is the bottom call.
1254 // If the exception is externally caught, clear it if there are no
1266 // Clear the exception if needed.
1274 // Reschedule the exception.
1691 // Do not propagate OOM exception: we should kill VM asap.