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.
1785 * Jump here when the code throws an exception.
1792 Object* exception;
1798 * We save off the exception and clear the exception status. While
1799 * processing the exception we might need to load some Throwable
1804 exception = dvmGetException(self);
1805 dvmAddTrackedAlloc(exception, self);
1808 ALOGV("Handling exception %s at %s:%d",
1809 exception->clazz->descriptor, curMethod->name,
1813 * Report the exception throw to any "subMode" watchers.
1815 * TODO: if the exception was thrown by interpreted code, control
1817 * exception at the point of the throw and again here. We can avoid
1823 * here, and have the JNI exception code do the reporting to the
1828 dvmReportExceptionThrow(self, exception);
1838 * exception raised.
1843 * Note this can cause an exception while resolving classes in
1847 exception, false, (void**)(void*)&fp);
1852 * exception this won't happen until some other exception gets
1857 * because that may need extra stack space to resolve exception
1861 * exception (specifically, class resolution in a "catch" block
1865 * we can check for this by just looking at the exception type
1867 * point because the more-recent exception will hit a break frame
1871 dvmCleanupStackOverflow(self, exception);
1877 exception->clazz->descriptor, dvmGetMethodSourceFile(curMethod),
1880 dvmSetException(self, exception);
1881 dvmReleaseTrackedAlloc(exception, self);
1889 exception->clazz->descriptor, dvmGetMethodSourceFile(curMethod),
1911 * Restore the exception if the handler wants it.
1913 * The Dalvik spec mandates that, if an exception handler wants to
1914 * do something with the exception, the first instruction executed
1915 * must be "move-exception". We can pass the exception along
1916 * through the thread struct, and let the move-exception instruction
1919 * If the handler doesn't call move-exception, we don't want to
1920 * finish here with an exception still pending.
1923 dvmSetException(self, exception);
1925 dvmReleaseTrackedAlloc(exception, self);
1947 * call can throw a stack overflow exception.
2134 * If the native code threw an exception, or interpreted code
2136 * it, jump to our local exception handling.