Searched refs:exceptionClass (Results 1 – 1 of 1) sorted by relevance
/libnativehelper/ |
D | JNIHelp.cpp | 105 … scoped_local_ref<jclass> exceptionClass(env, (*env)->GetObjectClass(e, exception)); // can't fail in getExceptionSummary() local 107 (*env)->GetObjectClass(e, exceptionClass.get())); // java.lang.Class, can't fail in getExceptionSummary() 111 (jstring) (*env)->CallObjectMethod(e, exceptionClass.get(), classGetNameMethod)); in getExceptionSummary() 128 (*env)->GetMethodID(e, exceptionClass.get(), "getMessage", "()Ljava/lang/String;"); in getExceptionSummary() 184 … scoped_local_ref<jclass> exceptionClass(env, (*env)->GetObjectClass(e, exception)); // can't fail in getStackTrace() local 186 … (*env)->GetMethodID(e, exceptionClass.get(), "printStackTrace", "(Ljava/io/PrintWriter;)V"); in getStackTrace() 225 scoped_local_ref<jclass> exceptionClass(env, findClass(env, className)); in jniThrowException() local 226 if (exceptionClass.get() == NULL) { in jniThrowException() 232 if ((*env)->ThrowNew(e, exceptionClass.get(), msg) != JNI_OK) { in jniThrowException()
|