/art/runtime/entrypoints/portable/ |
H A D | portable_throw_entrypoints.cc | 51 extern "C" void art_portable_throw_exception_from_code(mirror::Throwable* exception) 55 if (exception == NULL) { 56 ThrowNullPointerException(NULL, "throw with null exception"); 58 self->SetException(throw_location, exception); 66 mirror::Throwable* exception = self->GetException(NULL); local 68 return exception; 76 mirror::Throwable* exception = self->GetException(&throw_location); local 77 // Check for special deoptimization exception. 78 if (UNLIKELY(reinterpret_cast<int32_t>(exception) == -1)) { 81 mirror::Class* exception_type = exception [all...] |
/art/compiler/driver/ |
H A D | compiler_driver_test.cc | 158 // Force non-virtual call to AbstractClass foo, will throw AbstractMethodError exception. 161 jthrowable exception = env_->ExceptionOccurred(); local 164 EXPECT_TRUE(env_->IsInstanceOf(exception, jlame));
|
H A D | compiler_driver.cc | 696 // Resolve exception classes referenced by the loaded classes. The catch logic assumes 698 // Do this here so that exception classes appear to have been specified image classes. 964 // Clean up any exception left by field/type resolution 1050 // Clean up any exception left by field/type resolution 1282 // Clean up any exception left by method/invoke_type resolution 1595 mirror::Throwable* exception = soa.Self()->GetException(NULL); local 1596 VLOG(compiler) << "Exception during type resolution: " << exception->Dump(); 1597 if (strcmp(ClassHelper(exception->GetClass()).GetDescriptor(), 2365 LOG(FATAL) << "Unexpected exception compiling: " << PrettyMethod(method_idx, dex_file) << "\n"
|
/art/runtime/ |
H A D | debugger.h | 53 result_tag(JDWP::JT_VOID), exception(0), 77 JDWP::ObjectId exception; member in struct:art::DebugInvokeReq 334 uint32_t catch_dex_pc, mirror::Throwable* exception)
|
H A D | class_linker_test.cc | 47 mirror::Object* exception = self->GetException(NULL); local 50 EXPECT_TRUE(exception->InstanceOf(exception_class));
|
H A D | jni_internal_test.cc | 794 jthrowable exception = env_->ExceptionOccurred(); \ 795 EXPECT_NE(static_cast<jthrowable>(NULL), exception); \ 797 EXPECT_TRUE(env_->IsInstanceOf(exception, exception_class)); \ 882 // a pending exception 912 // a pending exception 1810 jthrowable exception = reinterpret_cast<jthrowable>(env_->AllocObject(exception_class)); local 1811 ASSERT_TRUE(exception != NULL); 1813 EXPECT_EQ(JNI_OK, env_->Throw(exception)); 1817 EXPECT_TRUE(env_->IsSameObject(exception, thrown_exception));
|
H A D | runtime.cc | 167 mirror::Throwable* exception = self->GetException(&throw_location); local 168 os << "Pending exception " << PrettyTypeOf(exception) 170 << exception->Dump();
|
H A D | check_jni.cc | 807 // Verify that, if an exception has been raised, the native code doesn't 811 mirror::Throwable* exception = self->GetException(&throw_location); local 812 std::string type(PrettyTypeOf(exception)); 813 JniAbortF(function_name_, "JNI %s called with pending exception '%s' thrown in %s", 1205 // The JNI specification doesn't say it's okay to call FatalError with a pending exception, 1206 // but you're about to abort anyway, and it's quite likely that you have a pending exception,
|
H A D | thread.cc | 1010 mirror::Throwable* exception = GetException(NULL); local 1011 LOG(FATAL) << "No pending exception expected: " << exception->Dump(); 1095 // Get and clear the exception. 1096 ScopedLocalRef<jthrowable> exception(jni_env_, jni_env_->ExceptionOccurred()); 1111 peer.get(), exception.get()); 1113 // If the handler threw, clear that exception too. 1252 // We want to skip frames up to and including the exception's constructor. 1511 LOG(ERROR) << "No exception class " << PrettyDescriptor(exception_class_descriptor); 1520 SirtRef<mirror::Throwable> exception(thi 1927 mirror::Throwable* exception = GetException(&throw_location); local [all...] |
H A D | jni_internal.cc | 197 // exception; there the "L;" must be present ("[La/b/C;"). Historically we've 392 ScopedLocalRef<jthrowable> exception(env, reinterpret_cast<jthrowable>(env->NewObjectA(exception_class, mid, args))); 393 if (exception.get() == NULL) { 398 soa.Self()->SetException(throw_location, soa.Decode<Throwable*>(exception.get())); 746 Throwable* exception = soa.Decode<Throwable*>(java_exception); local 747 if (exception == NULL) { 751 soa.Self()->SetException(throw_location, exception); 784 ScopedLocalRef<jthrowable> exception(env, soa.AddLocalReference<jthrowable>(old_exception.get())); 785 ScopedLocalRef<jclass> exception_class(env, env->GetObjectClass(exception.get())); 791 env->CallVoidMethod(exception 806 Object* exception = soa.Self()->GetException(NULL); local [all...] |
H A D | debugger.cc | 341 * onthrow=<exception-name>: connect to debugger when exception thrown 342 * onuncaught=y|n: connect to debugger when uncaught exception thrown 2329 // might get unrolled past it by an exception, and it's tricky 2802 *pExceptionId = req->exception; 2809 // We can be called while an exception is pending. We need 2846 mirror::Throwable* exception = soa.Self()->GetException(NULL); local 2848 pReq->exception = gRegistry->Add(exception); 2850 if (pReq->exception ! [all...] |
/art/compiler/llvm/ |
H A D | runtime_support_builder.cc | 147 Value* exception = EmitLoadFromThreadOffset(Thread::ExceptionOffset().Int32Value(), local 150 // If exception not null 151 return irb_.CreateIsNotNull(exception);
|
/art/runtime/entrypoints/ |
H A D | entrypoint_utils.cc | 97 DCHECK(self->IsExceptionPending()); // Throw exception and unwind. 155 DCHECK(self->IsExceptionPending()); // Throw exception and unwind 169 DCHECK(self->IsExceptionPending()); // Throw exception and unwind. 371 // In the case of checked exceptions that aren't declared, the exception must be wrapped by 373 mirror::Throwable* exception = soa.Self()->GetException(NULL); local 374 if (exception->IsCheckedException()) { 392 mirror::Class* exception_class = exception->GetClass();
|
/art/runtime/interpreter/ |
H A D | interpreter.cc | 538 // precised exception message. 694 // precised exception message. 805 // precised exception message. 904 // Returns true on success, otherwise throws an exception and returns false. 1024 mirror::Throwable* exception = self->GetException(&throw_location); local 1026 uint32_t found_dex_pc = shadow_frame.GetMethod()->FindCatchBlock(exception->GetClass(), dex_pc, 1035 found_dex_pc, exception); 1210 Throwable* exception = self->GetException(NULL); local 1212 shadow_frame.SetVRegReference(inst->VRegA_11x(), exception); 1269 // Return the pending exception 1520 Object* exception = shadow_frame.GetVRegReference(inst->VRegA_11x()); local [all...] |
/art/runtime/verifier/ |
H A D | method_verifier.cc | 414 // Flag instructions guarded by a "try" block and check exception handlers. 540 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "bad exception entry: startAddr=" << start 564 << "exception handler starts at bad address (" << dex_pc << ")"; 568 // Ensure exception types are resolved so that they don't need resolution to be delivered, 569 // unresolved exception types will be ignored by exception delivery 1404 * unconditional branches, method returns, and exception throws. 1408 * throw an exception that is handled by an encompassing "try" 1430 * can throw an exception, we will copy/merge this into the "catch" 1433 * a type) to be visible to the exception handle 2860 const RegType& exception = ResolveClassAndCheckAccess(iterator.GetHandlerTypeIndex()); local [all...] |