private static void ExceptionDescribe(JNIEnvironment env){
  if (traceJNI)   VM.sysWrite("JNI called: ExceptionDescribe  \n");
  RuntimeEntrypoints.checkJNICountDownToGC();
  try {
    Throwable e=env.getException();
    if (e != null) {
      env.recordException(null);
      e.printStackTrace(System.err);
    }
  }
 catch (  Throwable unexpected) {
    if (traceJNI)     unexpected.printStackTrace(System.err);
    env.recordException(null);
    env.recordException(unexpected);
  }
}

private static void ExceptionDescribe ( JNIEnvironment env ) { if ( traceJNI ) VM . sysWrite ( "JNI called: ExceptionDescribe  \n" ) ; RuntimeEntrypoints . checkJNICountDownToGC ( ) ; try { Throwable e = env . getException ( ) ; if ( e != null ) { env . recordException ( null ) ; e . printStackTrace ( System . err ) ; } } catch ( Throwable unexpected ) { if ( traceJNI ) unexpected . printStackTrace ( System . err ) ; env . recordException ( null ) ; env . recordException ( unexpected ) ; } }
exceptiondescribe : print the exception description and the stack trace back , then clear the exception
