Home
last modified time | relevance | path

Searched refs:ThrowNew (Results 1 – 14 of 14) sorted by relevance

/art/test/common/
Dstack_inspect.cc112 env->ThrowNew(env->FindClass("java/lang/NullPointerException"), "method is null!"); in Java_Main_isInterpretedFunction()
117 env->ThrowNew(env->FindClass("java/lang/Error"), "Unable to interpret method argument!"); in Java_Main_isInterpretedFunction()
133 env->ThrowNew(env->FindClass("java/lang/Error"), "Unable to find given method in stack!"); in Java_Main_isInterpretedFunction()
/art/test/ti-agent/
Dcommon_helper.cc69 env->ThrowNew(env->FindClass("java/lang/Exception"), message.c_str()); in throwCommonRedefinitionError()
131 env->ThrowNew(env->FindClass("java/lang/IllegalArgumentException"), in Java_art_Redefinition_doCommonMultiClassRedefinition()
257 env->ThrowNew(env->FindClass("java/lang/Exception"), message.c_str()); in Java_art_Redefinition_popTransformationFor()
297 env->ThrowNew(env->FindClass("java/lang/Exception"), in Java_art_Redefinition_doCommonClassRetransformation()
309 env->ThrowNew(env->FindClass("java/lang/Exception"), in Java_art_Redefinition_doCommonClassRetransformation()
Djni_helper.h67 return env->ThrowNew(exc_class.get(), msg) == JNI_OK; in JniThrowNullPointerException()
Djvmti_helper.cc63 env->ThrowNew(rt_exception.get(), err); in JvmtiErrorToException()
/art/test/986-native-method-bind/
Dnative_bind.cc66 env->ThrowNew(exception_class.get(), "dladdr failure!"); in doJvmtiMethodBind()
89 env->ThrowNew(exception_class.get(), "dlsym failure!"); in doJvmtiMethodBind()
/art/test/984-obsolete-invoke/
Dobsolete_invoke.cc65 env->ThrowNew(rt_exception.get(), "Unable to find obsolete method!"); in Java_art_Test984_getFirstObsoleteMethod984()
/art/runtime/native/
Ddalvik_system_DexFile.cc464 env->ThrowNew(fnfe.get(), message); in GetDexOptNeeded()
472 env->ThrowNew(iae.get(), message.c_str()); in GetDexOptNeeded()
480 env->ThrowNew(iae.get(), message.c_str()); in GetDexOptNeeded()
515 env->ThrowNew(iae.get(), message.c_str()); in DexFile_getDexFileStatus()
564 env->ThrowNew(fnfe.get(), message); in DexFile_isDexOptNeeded()
679 env->ThrowNew(iae.get(), message.c_str()); in DexFile_getDexFileOutputPaths()
Djava_lang_Thread.cc55 env->ThrowNew(internal_error, "Cannot create threads in zygote"); in Thread_nativeCreate()
Ddalvik_system_VMRuntime.cc619 env->ThrowNew(iae.get(), message.c_str()); in VMRuntime_isBootClassPathOnDisk()
/art/runtime/
Djni_internal_test.cc2099 TEST_F(JniInternalTest, ThrowNew) { in TEST_F() argument
2105 EXPECT_EQ(JNI_OK, env_->ThrowNew(exception_class, "hello world")); in TEST_F()
2111 EXPECT_EQ(JNI_OK, env_->ThrowNew(exception_class, nullptr)); in TEST_F()
2120 EXPECT_EQ(JNI_ERR, env_->ThrowNew(nullptr, nullptr)); in TEST_F()
2123 EXPECT_EQ(JNI_ERR, env_->ThrowNew(nullptr, nullptr)); in TEST_F()
Dcheck_jni.cc1829 static jint ThrowNew(JNIEnv* env, jclass c, const char* message) { in ThrowNew() function in art::CheckJNI
1835 result.i = baseEnv(env)->ThrowNew(env, c, message); in ThrowNew()
3602 CheckJNI::ThrowNew,
Djni_internal.cc457 static jint ThrowNew(JNIEnv* env, jclass c, const char* msg) { in ThrowNew() function in art::JNI
2589 JNI::ThrowNew,
Dthread.cc618 env->ThrowNew(error_class.get(), "Thread starting during runtime shutdown"); in CreateNativeThread()
/art/compiler/jni/
Djni_compiler_test.cc1124 env->ThrowNew(c, "hello"); in JNI_TEST_NORMAL_ONLY()