MCPcopy Create free account
hub / github.com/JDAI-CV/DNNLibrary / throwException

Function throwException

dnnlibrary/JavaWrapper.cpp:134–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134jint 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected