Home
last modified time | relevance | path

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

12

/art/test/1900-track-alloc/
Dalloc.cc73 env->ThrowNew(rt_exception.get(), "Alloc tracking data not initialized."); in Java_art_Test1900_getAmountAllocated()
103 env->ThrowNew(rt_exception.get(), "Unable to get JavaVM"); in Java_art_Test1900_newJvmtiEnv()
109 env->ThrowNew(rt_exception.get(), "Unable to create new jvmtiEnv"); in Java_art_Test1900_newJvmtiEnv()
121 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_Test1900_initializeTest()
151 env->ThrowNew(rt_exception.get(), "Unable to find memory tracking extensions."); in Java_art_Test1900_initializeTest()
/art/test/1941-dispose-stress/
Ddispose_stress.cc48 env->ThrowNew(rt_exception.get(), "Unable to get JavaVM"); in Java_art_Test1941_AllocEnv()
54 env->ThrowNew(rt_exception.get(), "Unable to create new jvmtiEnv"); in Java_art_Test1941_AllocEnv()
/art/test/980-redefine-object/
Dredef_object.cc56 env->ThrowNew(env->FindClass("java/lang/RuntimeException"), in RedefineObjectHook()
71 env->ThrowNew(env->FindClass("java/lang/RuntimeException"), in RedefineObjectHook()
101 env->ThrowNew(env->FindClass("java/lang/RuntimeException"), in RedefineObjectHook()
/art/test/1909-per-agent-tls/
Dagent_tls.cc62 env->ThrowNew(rt_exception.get(), "Unable to get JavaVM"); in Java_art_Test1909_newJvmtiEnv()
68 env->ThrowNew(rt_exception.get(), "Unable to create new jvmtiEnv"); in Java_art_Test1909_newJvmtiEnv()
/art/test/1946-list-descriptors/
Ddescriptors.cc60 env->ThrowNew(rt_exception.get(), "Alloc tracking data not initialized."); in Java_art_Test1946_getClassloaderDescriptors()
102 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_Test1946_initializeTest()
132 env->ThrowNew(rt_exception.get(), "Unable to find memory tracking extensions."); in Java_art_Test1946_initializeTest()
/art/test/855-native/
Dthrows_exception.cc23 env->ThrowNew(exClass, "In native"); in Java_Test_throwsException()
/art/test/1959-redefine-object-instrument/
Dfake_redef_object.cc57 env->ThrowNew(env->FindClass("java/lang/RuntimeException"), in RedefineObjectHook()
88 env->ThrowNew(env->FindClass("java/lang/RuntimeException"), in RedefineObjectHook()
/art/test/2263-method-trace-jit/
Dtrace_fib.cc24 env->ThrowNew(env->FindClass("java/lang/Error"), "bad argument"); in Java_art_Test988_nativeFibonacci()
/art/test/988-method-trace/
Dtrace_fib.cc24 env->ThrowNew(env->FindClass("java/lang/Error"), "bad argument"); in Java_art_Test988_nativeFibonacci()
/art/test/common/
Dstack_inspect.cc109 env->ThrowNew(env->FindClass("java/lang/NullPointerException"), "method is null!"); in Java_Main_isInterpretedFunction()
114 env->ThrowNew(env->FindClass("java/lang/Error"), "Unable to interpret method argument!"); in Java_Main_isInterpretedFunction()
122 env->ThrowNew(env->FindClass("java/lang/Error"), "Unable to find given method in stack!"); in Java_Main_isInterpretedFunction()
/art/test/ti-agent/
Dframe_pop_helper.cc81 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_FramePop_enableFramePopEvent()
117 env->ThrowNew(rt_exception.get(), "Unable to create new jvmti_env"); in Java_art_FramePop_makeJvmtiEnvForFramePop()
Dredefinition_helper.cc83 env->ThrowNew(env->FindClass("java/lang/Exception"), message.c_str()); in throwCommonRedefinitionError()
225 env->ThrowNew(env->FindClass("java/lang/IllegalArgumentException"), in Java_art_Redefinition_doCommonMultiStructuralClassRedefinition()
256 env->ThrowNew(env->FindClass("java/lang/IllegalArgumentException"), in Java_art_Redefinition_doCommonMultiClassRedefinition()
382 env->ThrowNew(env->FindClass("java/lang/Exception"), message.c_str()); in Java_art_Redefinition_popTransformationFor()
423 env->ThrowNew(env->FindClass("java/lang/Exception"), in Java_art_Redefinition_doCommonClassRetransformation()
435 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()
/art/test/986-native-method-bind/
Dnative_bind.cc67 env->ThrowNew(exception_class.get(), "dladdr failure!"); in doJvmtiMethodBind()
90 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/test/996-breakpoint-obsolete/
Dobsolete_breakpoints.cc63 env->ThrowNew(rt_exception.get(), "Unable to find obsolete method!"); in GetFirstObsoleteMethod()
/art/runtime/native/
Ddalvik_system_DexFile.cc386 env->ThrowNew(se.get(), message.c_str()); in DexFile_openDexFileNative()
576 env->ThrowNew(fnfe.get(), message); in GetDexOptNeeded()
584 env->ThrowNew(iae.get(), message.c_str()); in GetDexOptNeeded()
592 env->ThrowNew(iae.get(), message.c_str()); in GetDexOptNeeded()
604 env->ThrowNew(iae.get(), message.c_str()); in GetDexOptNeeded()
650 env->ThrowNew(iae.get(), message.c_str()); in DexFile_getDexFileStatus()
684 env->ThrowNew(iae.get(), message.c_str()); in DexFile_getDexFileOptimizationStatus()
749 env->ThrowNew(fnfe.get(), message); in DexFile_isDexOptNeeded()
902 env->ThrowNew(iae.get(), message.c_str()); in DexFile_getDexFileOutputPaths()
/art/test/1940-ddms-ext/
Dddm_ext.cc174 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_Test1940_initializeTest()
208 env->ThrowNew(rt_exception.get(), "Unable to find memory tracking extensions."); in Java_art_Test1940_initializeTest()
235 env->ThrowNew(rt_exception.get(), "Unable to find ddms extension event."); in Java_art_Test1940_initializeTest()
/art/test/989-method-trace-throw/
Dmethod_trace.cc69 env->ThrowNew(exception_cls, "Error"); in Java_art_Test989_doThrowNative()
/art/test/1964-add-to-dex-classloader-file/
Dadd_to_loader.cc76 env->ThrowNew(env->FindClass("java/lang/RuntimeError"), "Failed to find extension function"); in Java_Main_addToClassLoaderNative()
/art/test/1963-add-to-dex-classloader-in-memory/
Dadd_to_loader.cc77 env->ThrowNew(env->FindClass("java/lang/RuntimeError"), "Failed to find extension function"); in Java_art_Test1963_addToClassLoaderNative()
/art/test/1957-error-ext/
Dlasterror.cc80 env->ThrowNew(rt_exception.get(), (name + " extensions not found").c_str()); in FindExtensionMethod()
/art/test/1927-exception-event/
Dexception_event.cc39 env->ThrowNew(exception.get(), "from native"); in ThrowNative()
/art/test/2038-hiddenapi-jvmti-ext/
Dhiddenapi_ext.cc79 env->ThrowNew(rt_exception.get(), "Unable to find policy extensions."); in GetExtension()
/art/test/1974-resize-array/
Dresize_array.cc80 env->ThrowNew(rt_exception.get(), (name + " extensions not found").c_str()); in FindExtensionEvent()
106 env->ThrowNew(rt_exception.get(), (name + " extensions not found").c_str()); in FindExtensionMethod()

12