if (verboseJNI) VM.sysWrite("JNI called: ExceptionClear  \n");
if (traceJNI) VM.sysWrite("JNI called: ExceptionClear  \n");
  private static void ExceptionClear(int envJREF) {    if (verboseJNI) VM.sysWrite("JNI called: ExceptionClear  \n");    VM_JNIEnvironment env;    try {      env = VM_Thread.getCurrentThread().getJNIEnv();      env.recordException(null);    } catch (Throwable unexpected) {      env = VM_Thread.getCurrentThread().getJNIEnv();      env.recordException(null);            // clear old exception and register new one      env.recordException(unexpected);    }  }