Searched refs:exceptionClass (Results 1 – 2 of 2) sorted by relevance
/libnativehelper/ |
D | JNIHelp.c | 82 jclass exceptionClass = (*env)->GetObjectClass(env, thrown); // Always succeeds in GetExceptionSummary() local 84 jstring className = (jstring) (*env)->CallObjectMethod(env, exceptionClass, getName); in GetExceptionSummary() 88 (*env)->DeleteLocalRef(env, exceptionClass); in GetExceptionSummary() 91 (*env)->DeleteLocalRef(env, exceptionClass); in GetExceptionSummary() 92 exceptionClass = NULL; in GetExceptionSummary() 239 jclass exceptionClass = NULL; in ThrowException() local 250 exceptionClass = (*env)->FindClass(env, className); in ThrowException() 251 if (exceptionClass == NULL) { in ThrowException() 257 jmethodID init = (*env)->GetMethodID(env, exceptionClass, "<init>", ctorSig); in ThrowException() 263 jobject instance = (*env)->NewObjectV(env, exceptionClass, init, args); in ThrowException() [all …]
|
/libnativehelper/include/nativehelper/ |
D | JNIHelp.h | 131 jclass exceptionClass = env->GetObjectClass(thrown); // Always succeeds in GetExceptionSummary() local 133 jstring className = (jstring)env->CallObjectMethod(exceptionClass, getName); in GetExceptionSummary() 137 env->DeleteLocalRef(exceptionClass); in GetExceptionSummary() 140 env->DeleteLocalRef(exceptionClass); in GetExceptionSummary() 141 exceptionClass = NULL; in GetExceptionSummary() 292 jclass exceptionClass = NULL; in ThrowException() local 303 exceptionClass = env->FindClass(className); in ThrowException() 304 if (exceptionClass == NULL) { in ThrowException() 311 jmethodID init = env->GetMethodID(exceptionClass, "<init>", ctorSig); in ThrowException() 318 jobject instance = env->NewObjectV(exceptionClass, init, args); in ThrowException() [all …]
|