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

Method getMessage

valdi_core/src/valdi_core/jni/JavaException.cpp:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64std::string JavaException::getMessage() const {
65 auto message = JavaCache::get().getThrowableGetMessageMethod().call(getUnsafeObject());
66 if (message.isNull()) {
67 return "";
68 }
69
70 return toStdString(JavaEnv(), message);
71}
72
73} // namespace ValdiAndroid

Callers

nothing calls this directly

Calls 5

toStdStringFunction · 0.85
JavaEnvClass · 0.70
callMethod · 0.65
getFunction · 0.50
isNullMethod · 0.45

Tested by

no test coverage detected