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

git-svn-id: svn://10.0.0.236/trunk@166996 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pedemont%us.ibm.com
2004-12-23 20:51:36 +00:00
parent c78e4a0486
commit cf53474d2b
2 changed files with 3 additions and 4 deletions

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