Home
last modified time | relevance | path

Searched refs:ThrowNew (Results 1 – 25 of 34) 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/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/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.cc107 env->ThrowNew(env->FindClass("java/lang/NullPointerException"), "method is null!"); in Java_Main_isInterpretedFunction()
112 env->ThrowNew(env->FindClass("java/lang/Error"), "Unable to interpret method argument!"); in Java_Main_isInterpretedFunction()
120 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.cc70 env->ThrowNew(env->FindClass("java/lang/Exception"), message.c_str()); in throwCommonRedefinitionError()
212 env->ThrowNew(env->FindClass("java/lang/IllegalArgumentException"), in Java_art_Redefinition_doCommonMultiStructuralClassRedefinition()
243 env->ThrowNew(env->FindClass("java/lang/IllegalArgumentException"), in Java_art_Redefinition_doCommonMultiClassRedefinition()
369 env->ThrowNew(env->FindClass("java/lang/Exception"), message.c_str()); in Java_art_Redefinition_popTransformationFor()
409 env->ThrowNew(env->FindClass("java/lang/Exception"), in Java_art_Redefinition_doCommonClassRetransformation()
421 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()
Dbreakpoint_helper.cc169 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_Breakpoint_startBreakpointWatch()
Dexceptions_helper.cc143 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_Exceptions_setupExceptionTracing()
Djvmti_helper.cc124 env->ThrowNew(rt_exception.get(), err); in JvmtiErrorToException()
/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/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/runtime/native/
Ddalvik_system_DexFile.cc514 env->ThrowNew(fnfe.get(), message); in GetDexOptNeeded()
522 env->ThrowNew(iae.get(), message.c_str()); in GetDexOptNeeded()
530 env->ThrowNew(iae.get(), message.c_str()); in GetDexOptNeeded()
542 env->ThrowNew(iae.get(), message.c_str()); in GetDexOptNeeded()
588 env->ThrowNew(iae.get(), message.c_str()); in DexFile_getDexFileStatus()
620 env->ThrowNew(iae.get(), message.c_str()); in DexFile_getDexFileOptimizationStatus()
697 env->ThrowNew(fnfe.get(), message); in DexFile_isDexOptNeeded()
815 env->ThrowNew(iae.get(), message.c_str()); in DexFile_getDexFileOutputPaths()
/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/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/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