Lines Matching refs:cause
99 static bool initException(Object* exception, const char* msg, Object* cause,
112 Object* cause) in dvmThrowChainedException() argument
134 "failed to init original exception class", cause); in dvmThrowChainedException()
164 if (!initException(exception, msg, cause, self)) { in dvmThrowChainedException()
189 Object* cause) in dvmThrowChainedExceptionWithClassMessage() argument
193 dvmThrowChainedException(exceptionClass, message, cause); in dvmThrowChainedExceptionWithClassMessage()
247 static bool initException(Object* exception, const char* msg, Object* cause, in initException() argument
279 if (cause != NULL) { in initException()
280 if (!dvmInstanceof(cause->clazz, gDvm.exThrowable)) { in initException()
282 cause->clazz->descriptor); in initException()
324 if (cause == NULL) { in initException()
395 dvmCallMethod(self, initMethod, exception, &unused, cause); in initException()
400 dvmCallMethod(self, initMethod, exception, &unused, msgStr, cause); in initException()
427 dvmCallMethod(self, initCause, exception, &unused, cause); in initException()
546 Object* cause = in dvmGetExceptionCause() local
548 if (cause == exception) in dvmGetExceptionCause()
551 return cause; in dvmGetExceptionCause()
1165 Object* cause; in dvmLogExceptionStackTrace() local
1174 cause = dvmGetExceptionCause(exception); in dvmLogExceptionStackTrace()
1175 if (cause == NULL) { in dvmLogExceptionStackTrace()
1179 exception = cause; in dvmLogExceptionStackTrace()
1261 void dvmThrowChainedClassNotFoundException(const char* name, Object* cause) { in dvmThrowChainedClassNotFoundException() argument
1268 dvmThrowChainedException(gDvm.exClassNotFoundException, name, cause); in dvmThrowChainedClassNotFoundException()
1378 Object* cause) { in dvmThrowChainedNoClassDefFoundError() argument
1380 gDvm.exNoClassDefFoundError, descriptor, cause); in dvmThrowChainedNoClassDefFoundError()