MCPcopy Create free account
hub / github.com/antvis/F2Native / ClearException

Function ClearException

core/android/JNIUtil.cpp:103–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101bool HasException(JNIEnv *env) { return env->ExceptionCheck() != JNI_FALSE; }
102
103bool ClearException(JNIEnv *env) {
104 if(!HasException(env))
105 return false;
106 env->ExceptionDescribe();
107 env->ExceptionClear();
108 return true;
109}
110
111static int getutf8Length(char header) {
112 int len = 0;

Callers 3

ExecuteMethod · 0.85
InitF2LogFunction · 0.85
InnerLogFunction · 0.85

Calls 1

HasExceptionFunction · 0.85

Tested by

no test coverage detected