Searched refs:thrown (Results 1 – 2 of 2) sorted by relevance
/libnativehelper/ |
D | JNIHelp.c | 80 static bool GetExceptionSummary(JNIEnv* env, jthrowable thrown, struct ExpandableString* dst) { in GetExceptionSummary() argument 82 jclass exceptionClass = (*env)->GetObjectClass(env, thrown); // Always succeeds in GetExceptionSummary() 106 jstring message = (jstring) (*env)->CallObjectMethod(env, thrown, getMessage); in GetExceptionSummary() 152 static bool GetStackTrace(JNIEnv* env, jthrowable thrown, struct ExpandableString* dst) { in GetStackTrace() argument 172 (*env)->CallVoidMethod(env, thrown, printStackTrace, pw); in GetStackTrace() 190 static void GetStackTraceOrSummary(JNIEnv* env, jthrowable thrown, struct ExpandableString* dst) { in GetStackTraceOrSummary() argument 202 if (thrown == NULL) { in GetStackTraceOrSummary() 207 thrown = pendingException; in GetStackTraceOrSummary() 210 if (!GetStackTrace(env, thrown, dst)) { in GetStackTraceOrSummary() 213 GetExceptionSummary(env, thrown, dst); in GetStackTraceOrSummary() [all …]
|
/libnativehelper/include/nativehelper/ |
D | JNIHelp.h | 133 [[maybe_unused]] static bool GetExceptionSummary(JNIEnv* env, jthrowable thrown, in GetExceptionSummary() argument 136 jclass exceptionClass = env->GetObjectClass(thrown); // Always succeeds in GetExceptionSummary() 159 jstring message = (jstring)env->CallObjectMethod(thrown, getMessage); in GetExceptionSummary() 204 [[maybe_unused]] static bool GetStackTrace(JNIEnv* env, jthrowable thrown, in GetStackTrace() argument 225 env->CallVoidMethod(thrown, printStackTrace, pw); in GetStackTrace() 243 [[maybe_unused]] static void GetStackTraceOrSummary(JNIEnv* env, jthrowable thrown, in GetStackTraceOrSummary() argument 256 if (thrown == NULL) { in GetStackTraceOrSummary() 261 thrown = pendingException; in GetStackTraceOrSummary() 264 if (!GetStackTrace(env, thrown, dst)) { in GetStackTraceOrSummary() 267 GetExceptionSummary(env, thrown, dst); in GetStackTraceOrSummary() [all …]
|