| 132 | } |
| 133 | |
| 134 | jint throwException(JNIEnv *env, std::string message) { |
| 135 | jclass exClass; |
| 136 | std::string className = "java/lang/RuntimeException"; |
| 137 | |
| 138 | exClass = env->FindClass(className.c_str()); |
| 139 | |
| 140 | return env->ThrowNew(exClass, message.c_str()); |
| 141 | } |
nothing calls this directly
no outgoing calls
no test coverage detected