Lines Matching defs:exception

103  * exception.
303 * those created by the various exception throw routines, so that the
304 * exception stack trace can be generated correctly. If we don't do this,
315 * Check to see if "obj" is NULL. If so, throw an exception. Assumes the
321 * something that could throw an exception (so we have already called
348 * frame and throw an exception.
353 * anything else that can throw an exception.
1307 ILOGV("|move-exception v%d", vdst);
1308 assert(self->exception != NULL);
1309 SET_REGISTER(vdst, (u4)self->exception);
1537 * The exception needs to be processed at the *following*
1539 * spec). Because we're jumping to an exception handler,
1770 * We don't create an exception here, but the process of searching
1780 /* will throw a null pointer exception */
1781 LOGVV("Bad exception");
1783 /* use the requested exception */
3680 * Jump here when the code throws an exception.
3687 Object* exception;
3693 * We save off the exception and clear the exception status. While
3694 * processing the exception we might need to load some Throwable
3699 exception = dvmGetException(self);
3700 dvmAddTrackedAlloc(exception, self);
3703 ALOGV("Handling exception %s at %s:%d",
3704 exception->clazz->descriptor, curMethod->name,
3708 * Report the exception throw to any "subMode" watchers.
3710 * TODO: if the exception was thrown by interpreted code, control
3712 * exception at the point of the throw and again here. We can avoid
3718 * here, and have the JNI exception code do the reporting to the
3723 dvmReportExceptionThrow(self, exception);
3733 * exception raised.
3738 * Note this can cause an exception while resolving classes in
3742 exception, false, (void**)(void*)&fp);
3747 * exception this won't happen until some other exception gets
3752 * because that may need extra stack space to resolve exception
3756 * exception (specifically, class resolution in a "catch" block
3760 * we can check for this by just looking at the exception type
3762 * point because the more-recent exception will hit a break frame
3766 dvmCleanupStackOverflow(self, exception);
3772 exception->clazz->descriptor, dvmGetMethodSourceFile(curMethod),
3775 dvmSetException(self, exception);
3776 dvmReleaseTrackedAlloc(exception, self);
3784 exception->clazz->descriptor, dvmGetMethodSourceFile(curMethod),
3806 * Restore the exception if the handler wants it.
3808 * The Dalvik spec mandates that, if an exception handler wants to
3809 * do something with the exception, the first instruction executed
3810 * must be "move-exception". We can pass the exception along
3811 * through the thread struct, and let the move-exception instruction
3814 * If the handler doesn't call move-exception, we don't want to
3815 * finish here with an exception still pending.
3818 dvmSetException(self, exception);
3820 dvmReleaseTrackedAlloc(exception, self);
3842 * call can throw a stack overflow exception.
4029 * If the native code threw an exception, or interpreted code
4031 * it, jump to our local exception handling.