Skip to content

Instantly share code, notes, and snippets.

@faywong
Created August 3, 2017 04:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save faywong/9bdd67bd06a37b38499e355709ad666f to your computer and use it in GitHub Desktop.
Save faywong/9bdd67bd06a37b38499e355709ad666f to your computer and use it in GitHub Desktop.
JNI 异常处理
if ((*env)->ExceptionCheck(env)) {
LOGE("faywong step 0-001, exception occured!");
(*env)->ExceptionDescribe(env);
(*env)->ExceptionClear(env);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment