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

Function throwJavaMarshallerException

valdi/src/valdi/android/MarshallerJNI.cpp:62–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62static void throwJavaMarshallerException(JNIEnv* env, const Valdi::Error& error) {
63 if (env->ExceptionCheck() != 0L) {
64 return;
65 }
66
67 env->ThrowNew(ValdiAndroid::JavaEnv::getCache().getMarshallerExceptionClass().getClass(), error.toString().c_str());
68}
69
70class AndroidMarshaller : public Valdi::Marshaller {
71public:

Callers 2

checkMarshallerFunction · 0.85
checkNotNullFunction · 0.85

Calls 2

toStringMethod · 0.65
getClassMethod · 0.45

Tested by

no test coverage detected