Searched refs:exception_class (Results 1 - 9 of 9) sorted by relevance
/art/runtime/ |
H A D | jni_internal.h | 47 int ThrowNewException(JNIEnv* env, jclass exception_class, const char* msg, jobject cause);
|
H A D | jni_internal_test.cc | 58 void ExpectException(jclass exception_class) { argument 61 << PrettyDescriptor(soa.Decode<mirror::Class*>(exception_class)); 65 EXPECT_TRUE(env_->IsInstanceOf(exception, exception_class)); 2037 jclass exception_class = env_->FindClass("java/lang/RuntimeException"); local 2038 ASSERT_TRUE(exception_class != nullptr); 2039 jthrowable exception = reinterpret_cast<jthrowable>(env_->AllocObject(exception_class)); 2059 jclass exception_class = env_->FindClass("java/lang/RuntimeException"); local 2060 ASSERT_TRUE(exception_class != nullptr); 2064 EXPECT_EQ(JNI_OK, env_->ThrowNew(exception_class, "hello world")); 2068 EXPECT_TRUE(env_->IsInstanceOf(thrown_exception, exception_class)); [all...] |
H A D | reflection.cc | 652 jclass exception_class = soa.Env()->FindClass("java/lang/reflect/InvocationTargetException"); local 653 if (exception_class == nullptr) { 657 jmethodID mid = soa.Env()->GetMethodID(exception_class, "<init>", "(Ljava/lang/Throwable;)V"); 659 jobject exception_instance = soa.Env()->NewObject(exception_class, mid, th);
|
H A D | jni_internal.cc | 245 int ThrowNewException(JNIEnv* env, jclass exception_class, const char* msg, jobject cause) 269 jmethodID mid = env->GetMethodID(exception_class, "<init>", signature); 273 << PrettyClass(soa.Decode<mirror::Class*>(exception_class)); 278 env, reinterpret_cast<jthrowable>(env->NewObjectA(exception_class, mid, args))); 469 ScopedLocalRef<jclass> exception_class(env, env->GetObjectClass(exception.get())); 470 jmethodID mid = env->GetMethodID(exception_class.get(), "printStackTrace", "()V");
|
H A D | thread.cc | 2283 Handle<mirror::Class> exception_class( 2285 if (UNLIKELY(exception_class.Get() == nullptr)) { 2291 if (UNLIKELY(!runtime->GetClassLinker()->EnsureInitialized(soa.Self(), exception_class, true, 2296 DCHECK(!runtime->IsStarted() || exception_class->IsThrowableClass()); 2298 hs.NewHandle(down_cast<mirror::Throwable*>(exception_class->AllocObject(this)))); 2330 exception_class->FindDeclaredDirectMethod("<init>", signature, cl->GetImagePointerSize());
|
H A D | class_linker_test.cc | 56 mirror::Class* exception_class = local 58 EXPECT_TRUE(exception->InstanceOf(exception_class));
|
H A D | debugger.cc | 2919 Handle<mirror::Class> exception_class(hs.NewHandle(exception_->GetClass())); 2921 found_dex_pc = method->FindCatchBlock(exception_class, dex_pc, &unused_clear_exception);
|
H A D | class_linker.cc | 119 mirror::Class* exception_class = class_linker->FindClass(self, descriptor, class_loader); local 121 if (exception_class == nullptr) { 128 ArtMethod* exception_init_method = exception_class->FindDeclaredDirectMethod(
|
/art/runtime/entrypoints/ |
H A D | entrypoint_utils.cc | 222 mirror::Class* exception_class = exception->GetClass(); local 226 declares_exception = declared_exception->IsAssignableFrom(exception_class);
|
Completed in 5469 milliseconds