MCPcopy Create free account
hub / github.com/Snapchat/Valdi / throwJavaValdiException

Function throwJavaValdiException

valdi_core/src/valdi_core/jni/JNIMethodUtils.cpp:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11namespace ValdiAndroid {
12
13void throwJavaValdiException(JNIEnv* env, const Valdi::Error& error) {
14 auto errorString = error.toString();
15 throwJavaValdiException(env, errorString.c_str());
16}
17
18void throwJavaValdiException(JNIEnv* env, const char* message) {
19 env->ThrowNew(ValdiAndroid::JavaEnv::getCache().getValdiExceptionClass().getClass(), message);

Callers 15

unwrapMarshallerFunction · 0.85
handleFatalErrorFunction · 0.85
callNativeFunctionMethod · 0.85
nativeMarshallObjectMethod · 0.85
nativeSetActiveSchemaMethod · 0.85
nativeGetEnumValueMethod · 0.85
loadModuleMethod · 0.85
getViewInContextForIdMethod · 0.85
getModuleEntryMethod · 0.85

Calls 2

toStringMethod · 0.65
getClassMethod · 0.45

Tested by

no test coverage detected