Use ExceptionCheck, since we don't need the actual exception

Original committer: pedemont%us.ibm.com
Original revision: 1.17
Original date: 2004/12/23 20:51:36


git-svn-id: svn://10.0.0.236/trunk@212589 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pedemont%us.ibm.com 2006-09-27 15:17:13 +00:00
parent e6d306de0f
commit caa01326c9

View File

@ -415,8 +415,7 @@ nsJavaXPTCStub::CallMethod(PRUint16 aMethodIndex,
}
// Check for exception from called Java function
jthrowable exp = mJavaEnv->ExceptionOccurred();
if (exp) {
if (mJavaEnv->ExceptionCheck()) {
#ifdef DEBUG
mJavaEnv->ExceptionDescribe();
#endif