Lines Matching refs:gDvm
133 dvmThrowChainedException(gDvm.exInternalError,
158 if (gDvm.optimizing) {
175 self->exception = gDvm.internalErrorObj;
280 if (!dvmInstanceof(cause->clazz, gDvm.exThrowable)) {
374 dvmThrowChainedException(gDvm.exRuntimeException,
471 if (dvmInstanceof(exception->clazz, gDvm.exError) ||
472 dvmInstanceof(exception->clazz, gDvm.exRuntimeException))
541 if (!dvmInstanceof(exception->clazz, gDvm.exThrowable)) {
547 dvmGetFieldObject(exception, gDvm.offJavaLangThrowable_cause);
854 if (!dvmInstanceof(method->clazz, gDvm.exThrowable))
968 ClassObject* klass = gDvm.classJavaLangStackTraceElementArray;
988 if (!dvmIsClassInitialized(gDvm.classJavaLangStackTraceElement))
989 dvmInitClass(gDvm.classJavaLangStackTraceElement);
996 Object* ste = dvmAllocObject(gDvm.classJavaLangStackTraceElement,ALLOC_DEFAULT);
1025 dvmCallMethod(dvmThreadSelf(), gDvm.methJavaLangStackTraceElement_init,
1144 gDvm.offJavaLangThrowable_stackState);
1198 dvmThrowException(gDvm.exAbstractMethodError, msg);
1202 dvmThrowException(gDvm.exArithmeticException, msg);
1207 dvmThrowExceptionFmt(gDvm.exArrayIndexOutOfBoundsException,
1214 throwTypeError(gDvm.exArrayStoreException,
1221 dvmThrowExceptionFmt(gDvm.exArrayStoreException, "%s of type %s is not an array",
1227 throwTypeError(gDvm.exArrayStoreException,
1237 dvmThrowExceptionFmt(gDvm.exArrayStoreException,
1244 throwTypeError(gDvm.exClassCastException,
1249 dvmThrowExceptionWithClassMessage(gDvm.exClassCircularityError,
1254 dvmThrowException(gDvm.exClassFormatError, msg);
1268 dvmThrowChainedException(gDvm.exClassNotFoundException, name, cause);
1277 if (gDvm.exExceptionInInitializerError == NULL || gDvm.exError == NULL) {
1295 if (dvmInstanceof(exception->clazz, gDvm.exError)) {
1302 dvmThrowChainedException(gDvm.exExceptionInInitializerError,
1308 dvmThrowException(gDvm.exFileNotFoundException, msg);
1312 dvmThrowException(gDvm.exIOException, msg);
1316 dvmThrowException(gDvm.exIllegalAccessException, msg);
1320 dvmThrowException(gDvm.exIllegalAccessError, msg);
1324 dvmThrowException(gDvm.exIllegalArgumentException, msg);
1328 dvmThrowException(gDvm.exIllegalMonitorStateException, msg);
1332 dvmThrowException(gDvm.exIllegalStateException, msg);
1336 dvmThrowException(gDvm.exIllegalThreadStateException, msg);
1340 dvmThrowException(gDvm.exIncompatibleClassChangeError, msg);
1347 gDvm.exIncompatibleClassChangeError, descriptor);
1352 dvmThrowExceptionFmt(gDvm.exInstantiationException,
1359 dvmThrowException(gDvm.exInternalError, msg);
1363 dvmThrowException(gDvm.exInterruptedException, msg);
1367 dvmThrowException(gDvm.exLinkageError, msg);
1371 dvmThrowExceptionFmt(gDvm.exNegativeArraySizeException, "%d", size);
1375 dvmThrowExceptionWithClassMessage(gDvm.exNoClassDefFoundError,
1382 gDvm.exNoClassDefFoundError, descriptor, cause);
1386 dvmThrowException(gDvm.exNoSuchFieldError, msg);
1390 dvmThrowException(gDvm.exNoSuchFieldException, msg);
1394 dvmThrowException(gDvm.exNoSuchMethodError, msg);
1398 dvmThrowException(gDvm.exNullPointerException, msg);
1402 dvmThrowException(gDvm.exOutOfMemoryError, msg);
1406 dvmThrowException(gDvm.exRuntimeException, msg);
1410 dvmThrowException(gDvm.exStaleDexCacheError, msg);
1415 dvmThrowExceptionFmt(gDvm.exStringIndexOutOfBoundsException,
1421 dvmThrowExceptionFmt(gDvm.exStringIndexOutOfBoundsException,
1427 dvmThrowExceptionWithClassMessage(gDvm.exTypeNotPresentException,
1432 dvmThrowException(gDvm.exUnsatisfiedLinkError, msg);
1438 dvmThrowExceptionFmt(gDvm.exUnsatisfiedLinkError, "%s: %s.%s:%s",
1445 dvmThrowException(gDvm.exUnsupportedOperationException, msg);
1449 dvmThrowExceptionWithClassMessage(gDvm.exVerifyError, descriptor);
1453 dvmThrowException(gDvm.exVirtualMachineError, msg);