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() 241 jclass exceptionClass = NULL; in ThrowException() local 252 exceptionClass = (*env)->FindClass(env, className); in ThrowException() 253 if (exceptionClass == NULL) { in ThrowException() 259 jmethodID init = (*env)->GetMethodID(env, exceptionClass, "<init>", ctorSig); in ThrowException() 265 jobject instance = (*env)->NewObjectV(env, exceptionClass, init, args); in ThrowException() [all …]
|
/libnativehelper/include/nativehelper/ |
D | JNIHelp.h | 136 jclass exceptionClass = env->GetObjectClass(thrown); // Always succeeds in GetExceptionSummary() local 138 jstring className = (jstring)env->CallObjectMethod(exceptionClass, getName); in GetExceptionSummary() 142 env->DeleteLocalRef(exceptionClass); in GetExceptionSummary() 145 env->DeleteLocalRef(exceptionClass); in GetExceptionSummary() 146 exceptionClass = NULL; in GetExceptionSummary() 297 jclass exceptionClass = NULL; in ThrowException() local 308 exceptionClass = env->FindClass(className); in ThrowException() 309 if (exceptionClass == NULL) { in ThrowException() 316 jmethodID init = env->GetMethodID(exceptionClass, "<init>", ctorSig); in ThrowException() 323 jobject instance = env->NewObjectV(exceptionClass, init, args); in ThrowException() [all …]
|