Home
last modified time | relevance | path

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

/libnativehelper/include/nativehelper/
DJNIHelp.h410 [[maybe_unused]] static int jniThrowException(JNIEnv* env, const char* className, const char* msg) { in jniThrowException() function
456 return jniThrowException(env, className, msgBuf); in jniThrowExceptionFmt()
460 return jniThrowException(env, "java/lang/NullPointerException", msg); in jniThrowNullPointerException()
464 return jniThrowException(env, "java/lang/RuntimeException", msg); in jniThrowRuntimeException()
471 return jniThrowException(env, "java/io/IOException", message); in jniThrowIOException()
512 int jniThrowException(JNIEnv* env, const char* className, const char* msg);
/libnativehelper/
DJNIHelp.c360 int jniThrowException(JNIEnv* env, const char* className, const char* message) { in jniThrowException() function
367 return jniThrowException(env, className, msgBuf); in jniThrowExceptionFmt()
371 return jniThrowException(env, "java/lang/NullPointerException", msg); in jniThrowNullPointerException()
375 return jniThrowException(env, "java/lang/RuntimeException", msg); in jniThrowRuntimeException()
381 return jniThrowException(env, "java/io/IOException", message); in jniThrowIOException()
/libnativehelper/tests_mts/jni/
Djni_helper_jni.cpp36 jniThrowException(env, c.c_str(), m.c_str()); in throwException()