Searched refs:exception_class (Results 1 – 10 of 10) sorted by relevance
/art/test/986-native-method-bind/ |
D | native_bind.cc | 66 ScopedLocalRef<jclass> exception_class(env, env->FindClass("java/lang/Exception")); in doJvmtiMethodBind() local 67 env->ThrowNew(exception_class.get(), "dladdr failure!"); in doJvmtiMethodBind() 89 ScopedLocalRef<jclass> exception_class(env, env->FindClass("java/lang/Exception")); in doJvmtiMethodBind() local 90 env->ThrowNew(exception_class.get(), "dlsym failure!"); in doJvmtiMethodBind()
|
/art/runtime/native/ |
D | java_lang_VMClassLoader.cc | 100 ObjPtr<mirror::Class> exception_class = self->GetException()->GetClass(); in VMClassLoader_findLoadedClass() local 101 if (exception_class == WellKnownClasses::java_lang_IllegalAccessError || in VMClassLoader_findLoadedClass() 102 exception_class == WellKnownClasses::java_lang_NoClassDefFoundError) { in VMClassLoader_findLoadedClass()
|
/art/runtime/jni/ |
D | jni_internal.h | 39 int ThrowNewException(JNIEnv* env, jclass exception_class, const char* msg, jobject cause);
|
D | jni_internal_test.cc | 62 void ExpectException(jclass exception_class) { in ExpectException() argument 65 << mirror::Class::PrettyDescriptor(soa.Decode<mirror::Class>(exception_class)); in ExpectException() 69 EXPECT_TRUE(env_->IsInstanceOf(exception, exception_class)); in ExpectException() 2330 jclass exception_class = env_->FindClass("java/lang/RuntimeException"); in TEST_F() local 2331 ASSERT_TRUE(exception_class != nullptr); in TEST_F() 2332 jthrowable exception = reinterpret_cast<jthrowable>(env_->AllocObject(exception_class)); in TEST_F() 2352 jclass exception_class = env_->FindClass("java/lang/RuntimeException"); in TEST_F() local 2353 ASSERT_TRUE(exception_class != nullptr); in TEST_F() 2357 EXPECT_EQ(JNI_OK, env_->ThrowNew(exception_class, "hello world")); in TEST_F() 2361 EXPECT_TRUE(env_->IsInstanceOf(thrown_exception, exception_class)); in TEST_F() [all …]
|
D | jni_internal.cc | 576 int ThrowNewException(JNIEnv* env, jclass exception_class, const char* msg, jobject cause) in ThrowNewException() argument 600 jmethodID mid = env->GetMethodID(exception_class, "<init>", signature); in ThrowNewException() 604 << mirror::Class::PrettyClass(soa.Decode<mirror::Class>(exception_class)); in ThrowNewException() 609 env, reinterpret_cast<jthrowable>(env->NewObjectA(exception_class, mid, args))); in ThrowNewException() 805 ScopedLocalRef<jclass> exception_class(env, env->GetObjectClass(exception.get())); in ExceptionDescribe() local 806 jmethodID mid = env->GetMethodID(exception_class.get(), "printStackTrace", "()V"); in ExceptionDescribe()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 160 ObjPtr<mirror::Class> exception_class = exception->GetClass(); in InvokeProxyInvocationHandler() local 163 declares_exception = declared_exception->IsAssignableFrom(exception_class); in InvokeProxyInvocationHandler()
|
/art/dex2oat/driver/ |
D | compiler_driver.cc | 1049 ObjPtr<mirror::Class> exception_class = in ResolveExceptionTypes() local 1051 if (exception_class == nullptr) { in ResolveExceptionTypes() 1056 DCHECK(GetClassRoot<mirror::Throwable>(class_linker)->IsAssignableFrom(exception_class)); in ResolveExceptionTypes() 2338 Handle<mirror::Class> exception_class = hs.NewHandle( in TryInitializeClass() local 2341 class_linker->EnsureInitialized(self, exception_class, true, true); in TryInitializeClass()
|
/art/runtime/ |
D | thread.cc | 3600 Handle<mirror::Class> exception_class( in ThrowNewWrappedException() local 3602 if (UNLIKELY(exception_class == nullptr)) { in ThrowNewWrappedException() 3608 if (UNLIKELY(!runtime->GetClassLinker()->EnsureInitialized(soa.Self(), exception_class, true, in ThrowNewWrappedException() 3613 DCHECK_IMPLIES(runtime->IsStarted(), exception_class->IsThrowableClass()); in ThrowNewWrappedException() 3615 hs.NewHandle(ObjPtr<mirror::Throwable>::DownCast(exception_class->AllocObject(this)))); in ThrowNewWrappedException() 3648 exception_class->FindConstructor(signature, cl->GetImagePointerSize()); in ThrowNewWrappedException()
|
D | class_linker_test.cc | 74 ObjPtr<mirror::Class> exception_class = in AssertNonExistentClass() local 76 EXPECT_TRUE(exception->InstanceOf(exception_class)); in AssertNonExistentClass()
|
/art/openjdkjvmti/ |
D | events.cc | 922 art::Handle<art::mirror::Class> exception_class, in FindCatchMethodsFromThrow() argument 928 exception_class_(exception_class), in FindCatchMethodsFromThrow()
|