摘要:
在android的JNIHelp.h文件中声明四种可以向JVM抛异常的函数:intjniThrowException(JNIEnv* env,const char*className,const char*msg)intjniThrowNullPointerException(JNIEnv* env,char*msg)intjniThrowIOException(JNIEnv* env,interrnum)intjniThrowRuntimeException(JNIEnv* env,const char*msg)注意:虽然const char*className它是字符串,但是它是要传到中使
阅读全文