Home
last modified time | relevance | path

Searched refs:exception (Results 1 – 25 of 192) sorted by relevance

12345678

/dalvik/vm/
DException.cpp99 static bool initException(Object* exception, const char* msg, Object* cause,
115 Object* exception; in dvmThrowChainedException() local
138 exception = dvmAllocObject(excepClass, ALLOC_DEFAULT); in dvmThrowChainedException()
139 if (exception == NULL) { in dvmThrowChainedException()
163 assert(excepClass == exception->clazz); in dvmThrowChainedException()
164 if (!initException(exception, msg, cause, self)) { in dvmThrowChainedException()
175 self->exception = gDvm.internalErrorObj; in dvmThrowChainedException()
181 self->exception = exception; in dvmThrowChainedException()
184 dvmReleaseTrackedAlloc(exception, self); in dvmThrowChainedException()
247 static bool initException(Object* exception, const char* msg, Object* cause, in initException() argument
[all …]
DException.h94 return self->exception; in dvmGetException()
100 INLINE void dvmSetException(Thread* self, Object* exception) in dvmSetException() argument
102 assert(exception != NULL); in dvmSetException()
103 self->exception = exception; in dvmSetException()
114 self->exception = NULL; in dvmClearException()
129 return (self->exception != NULL); in dvmCheckException()
136 bool dvmIsCheckedException(const Object* exception);
151 Object* dvmGetExceptionCause(const Object* exception);
176 extern "C" int dvmFindCatchBlock(Thread* self, int relPc, Object* exception,
/dalvik/tests/070-nio-buffer/
Dexpected.txt1 Got expected buffer overflow exception
2 Got expected out-of-bounds exception
3 Got expected buffer overflow exception
/dalvik/libnativehelper/
DJNIHelp.cpp92 static char* getExceptionSummary0(C_JNIEnv* env, jthrowable exception) { in getExceptionSummary0() argument
96 … scoped_local_ref<jclass> exceptionClass(env, (*env)->GetObjectClass(e, exception)); // can't fail in getExceptionSummary0()
117 (jstring) (*env)->CallObjectMethod(e, exception, getMessage)); in getExceptionSummary0()
136 static char* getExceptionSummary(C_JNIEnv* env, jthrowable exception) { in getExceptionSummary() argument
138 char* result = getExceptionSummary0(env, exception); in getExceptionSummary()
149 static char* getStackTrace(C_JNIEnv* env, jthrowable exception) { in getStackTrace() argument
181 … scoped_local_ref<jclass> exceptionClass(env, (*env)->GetObjectClass(e, exception)); // can't fail in getStackTrace()
184 (*env)->CallVoidMethod(e, exception, printStackTraceMethod, printWriter); in getStackTrace()
211 scoped_local_ref<jthrowable> exception(env, (*env)->ExceptionOccurred(e)); in jniThrowException() local
214 if (exception.get() != NULL) { in jniThrowException()
[all …]
/dalvik/tests/081-hot-exceptions/src/
DMain.java29 int exception = 0; in main() local
36 exception++; in main()
40 System.out.println("exception = " + exception); in main()
/dalvik/vm/mterp/armv5te/
DOP_THROW.S8 GET_VREG(r1, r2) @ r1<- vAA (exception object)
9 EXPORT_PC() @ exception handler can throw
13 str r1, [rSELF, #offThread_exception] @ thread->exception<- obj
DOP_FILL_ARRAY_DATA.S11 cmp r0, #0 @ 0 means an exception is thrown
12 beq common_exceptionThrown @ has exception
/dalvik/tests/054-uncaught/
Dexpected.txt2 Uncaught exception DEFAULT!
7 Uncaught exception THREAD!
12 Uncaught exception THREAD!
17 Uncaught exception DEFAULT!
/dalvik/dx/tests/080-dex-exception-tables/
Dexpected.txt9 000d: move-exception v1
14 0013: move-exception v1
32 000d: move-exception v1
37 0013: move-exception v1
61 0013: move-exception v1
66 0019: move-exception v1
71 001f: move-exception v1
101 0010: move-exception v1
106 0016: move-exception v1
111 001c: move-exception v1
[all …]
/dalvik/vm/mterp/x86-atom/
DOP_MOVE_EXCEPTION.S35 movl offThread_exception(%ecx), %edx # %edx<- glue->self->exception
36 movl $$0, offThread_exception(%ecx) # clear exception
37 SET_VREG %edx, rINST # vAA<- glue->self->exception
DOP_THROW.S36 movl rINST, offThread_exception(%ecx) # thread->exception<- object
37 jmp common_exceptionThrown # handle exception
DOP_THROW_VERIFICATION_ERROR.S33 EXPORT_PC # in case an exception is thrown
40 jmp common_exceptionThrown # failed; handle exception
DOP_MONITOR_EXIT.S42 FINISH_FETCH_ADVANCE 1, %edx # advance pc before exception
45 je common_exceptionThrown # handle exception
DOP_NEW_INSTANCE.S79 je common_exceptionThrown # handle exception
97 je common_exceptionThrown # handle exception
127 jmp common_exceptionThrown # handle exception
144 jmp common_exceptionThrown # handle exception
/dalvik/vm/mterp/c/
DOP_MOVE_EXCEPTION.cpp4 assert(self->exception != NULL);
5 SET_REGISTER(vdst, (u4)self->exception);
/dalvik/dx/src/junit/extensions/
DExceptionTestCase.java26 public ExceptionTestCase(String name, Class exception) { in ExceptionTestCase() argument
28 fExpected= exception; in ExceptionTestCase()
/dalvik/vm/mterp/x86/
DOP_THROW.S8 GET_VREG_R %eax rINST # eax<- exception object
12 movl %eax,offThread_exception(%ecx) # thread->exception<- obj
/dalvik/tests/077-method-override/
Dexpected.txt14 Got expected exception - ovws
15 Got expected exception - oswv
/dalvik/tests/044-proxy/
Dexpected.txt52 Dupe threw expected exception
53 Clash threw expected exception
54 Clash2 threw expected exception
55 Clash3 threw expected exception
56 Clash4 threw expected exception
74 Got expected exception
77 Got expected exception
80 Got expected exception
/dalvik/tests/086-null-super/
Dinfo.txt1 ClassLoader.loadClass() is expected to throw an exception, usually
5 that if there was no exception, the value returned would be non-null.
/dalvik/dx/tests/046-dex-exceptions/
Dexpected.txt10 0009: move-exception v2
33 0012: move-exception v2
38 0017: move-exception v2
/dalvik/dx/tests/061-dex-try-catch/
Dexpected.txt14 0005: move-exception v2
27 0005: move-exception v1
42 0007: move-exception v2
/dalvik/tests/081-hot-exceptions/
Dexpected.txt2 exception = 1024
/dalvik/tests/029-assert/
Dexpected.txt1 caught expected assert exception
/dalvik/tests/019-wrong-array-type/
Dexpected.txt1 Got correct array store exception

12345678