Home
last modified time | relevance | path

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

/libnativehelper/
DJNIHelp.c81 jclass exceptionClass = (*env)->GetObjectClass(env, thrown); // Always succeeds in GetExceptionSummary() local
83 jstring className = (jstring) (*env)->CallObjectMethod(env, exceptionClass, getName); in GetExceptionSummary()
87 (*env)->DeleteLocalRef(env, exceptionClass); in GetExceptionSummary()
90 (*env)->DeleteLocalRef(env, exceptionClass); in GetExceptionSummary()
91 exceptionClass = NULL; in GetExceptionSummary()
282 jclass exceptionClass = (*env)->FindClass(env, className); in jniThrowException() local
283 if (exceptionClass == NULL) { in jniThrowException()
290 if ((*env)->ThrowNew(env, exceptionClass, message) != JNI_OK) { in jniThrowException()
295 (*env)->DeleteLocalRef(env, exceptionClass); in jniThrowException()