MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / throwNew

Function throwNew

src/javaApi.cpp:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18
19static void throwNew(JNIEnv* env, const char* exception_class, const char* message) {
20 jclass cls = env->FindClass(exception_class);
21 if (cls != NULL) {
22 env->ThrowNew(cls, message);
23 }
24}
25
26
27extern "C" DLLEXPORT void JNICALL

Calls

no outgoing calls

Tested by

no test coverage detected