Searched refs:exception (Results 101 - 123 of 123) sorted by relevance

12345

/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ssl/
H A DSSLSocketTest.java65 fail("Unexpected exception " + e);
362 fail("Unexpected exception " + e);
391 fail("Unexpected exception " + e);
398 fail("Unexpected exception " + e);
559 fail("Unexpected exception " + e);
785 private Exception exception; field in class:SSLSocketTest.TestServer
830 exception = ex;
835 return exception;
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DInetAddressTest.java218 boolean exception = false;
222 exception = true;
224 fail("getByName threw wrong exception : " + ex.getMessage());
226 assertTrue("expected SecurityException", exception);
304 boolean exception = false;
311 fail("getByName threw wrong exception : " + ex.getMessage());
H A DInetSocketAddressTest.java90 boolean exception = false;
97 fail("getByName threw wrong exception : " + ex.getMessage());
163 fail("Unexpected exception was thrown.");
H A DInet6AddressTest.java914 boolean exception = false;
921 fail("getByName threw wrong exception : " + ex.getMessage());
956 // should not throw any exception
992 // should not throw any exception
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/acl/
H A DAclImpl.java46 } catch(Exception exception) { }
/dalvik/vm/
H A DDebugger.h263 int catchRelPc, struct Object* exception);
H A DThread.c717 LOGE("exception thrown while constructing main thread object\n");
735 LOGE("exception thrown while constructing main vmthread object\n");
1501 * The current thread is exiting with an uncaught exception. The
1503 * thread-exit-uncaught-exception handler for the VM, for a specific
1512 Object* exception; local
1518 LOGW("threadid=%d: thread exiting with uncaught exception (group=%p)\n",
1523 * Get a pointer to the exception, then clear out the one in the
1526 exception = dvmGetException(self);
1527 dvmAddTrackedAlloc(exception, self);
1555 self->threadObj, exception);
[all...]
H A DJni.c702 * Throwing an exception on failure is problematic, because JNI code
703 * may not be expecting an exception, and things sort of cascade. We
1015 /* ran out of memory? could throw exception instead */
1307 * Take this exception and throw it.
1342 * If an exception is being thrown, return the exception object. Otherwise,
1345 * TODO: if there is no pending exception, we should be able to skip the
1347 * the exception (in case it got moved by a compacting GC).
1353 Object* exception; local
1356 exception
1380 Object* exception = dvmGetException(_self); local
[all...]
H A DDebugger.c2486 * Tell JDWP that an exception has occurred.
2489 int catchRelPc, Object* exception)
2520 dvmJdwpPostException(gDvm.jdwpState, &throwLoc, objectToObjectId(exception),
2521 classObjectToRefTypeId(exception->clazz), &catchLoc,
2789 * We can be called while an exception is pending in the VM. We need
2831 /* if no exception thrown, examine object result more closely */
2488 dvmDbgPostException(void* throwFp, int throwRelPc, void* catchFp, int catchRelPc, Object* exception) argument
/dalvik/vm/mterp/common/
H A Dasm-constants.h174 MTERP_OFFSET(offThread_exception, Thread, exception, 48)
/dalvik/vm/mterp/out/
H A DInterpC-allstubs.c102 * exception.
301 * those created by dvmThrowException(), so that the exception stack
342 * Check to see if "obj" is NULL. If so, throw an exception. Assumes the
348 * something that could throw an exception (so we have already called
375 * frame and throw an exception.
380 * anything else that can throw an exception.
1317 ILOGV("|move-exception v%d", vdst);
1318 assert(self->exception != NULL);
1319 SET_REGISTER(vdst, (u4)self->exception);
1553 * The exception need
3595 Object* exception; local
[all...]
H A DInterpC-portdbg.c102 * exception.
301 * those created by dvmThrowException(), so that the exception stack
342 * Check to see if "obj" is NULL. If so, throw an exception. Assumes the
348 * something that could throw an exception (so we have already called
375 * frame and throw an exception.
380 * anything else that can throw an exception.
1265 * might get unrolled past it by an exception, and it's tricky
1316 * terminates "with a thrown exception".
1661 ILOGV("|move-exception v%d", vdst);
1662 assert(self->exception !
3856 Object* exception; local
[all...]
H A DInterpC-portstd.c102 * exception.
301 * those created by dvmThrowException(), so that the exception stack
342 * Check to see if "obj" is NULL. If so, throw an exception. Assumes the
348 * something that could throw an exception (so we have already called
375 * frame and throw an exception.
380 * anything else that can throw an exception.
1381 ILOGV("|move-exception v%d", vdst);
1382 assert(self->exception != NULL);
1383 SET_REGISTER(vdst, (u4)self->exception);
1617 * The exception need
3576 Object* exception; local
[all...]
H A DInterpAsm-x86.S132 * "export" the PC to the interpreted stack frame, f/b/o future exception
424 /* move-exception vAA */
429 SET_VREG(%eax,rINST_FULL) # fp[AA]<- exception object
918 testl %eax,%eax # exception thrown?
928 * Throw an exception object in the current thread.
933 GET_VREG(%eax,rINST_FULL) # eax<- exception object
937 movl %eax,offThread_exception(%ecx) # thread->exception<- obj
5848 je common_exceptionThrown # no, handle exception
6027 je common_errNullObject # yep, throw exception
6056 je common_errNullObject # yep, throw exception
[all...]
/dalvik/libcore/icu/src/main/native/
H A DResourceInterface.cpp46 jclass exception; local
51 exception = env->FindClass("java/lang/IllegalArgumentException");
55 exception = env->FindClass("java/lang/ArrayIndexOutOfBoundsException");
58 exception = env->FindClass("java/lang/UnsupportedOperationException");
61 exception = env->FindClass("java/lang/RuntimeException");
64 return (env->ThrowNew(exception, emsg) != 0);
166 // return and let the ResourceBundle throw an exception
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
H A DSocketTest.java237 boolean exception = false;
243 exception = true;
247 if (!exception)
252 exception);
283 boolean exception = false;
288 exception = true;
292 if (!exception)
296 assertTrue("Was able to create two sockets on same port", exception);
767 fail("Unexpected exception was thrown: " + e.toString());
803 fail("Unexpected exception
[all...]
H A DMulticastSocketTest.java126 notes = "IOException exception checking missed.",
168 notes = "IOException exception checking missed.",
561 fail("Did not get exception when group was null");
571 fail("Did not get exception when group is not a multicast address");
583 fail("Did not get exception when joining group is not allowed");
748 fail("Did not get expected exception when joining for " +
793 assertTrue("Failed to throw exception leaving non-member group", except);
858 fail("Did not get exception when group was null");
868 fail("Did not get exception when group is not a " +
881 fail("Did not get exception whe
[all...]
/dalvik/libcore/luni/src/main/java/java/net/
H A DURLClassLoader.java737 * used, getJarFile() will throw an exception if the
1076 // getJarFile() will throw an exception if the entry
1201 boolean exception = false;
1207 exception = !packageObj
1211 exception = packageObj.isSealed();
1213 if (exception) {
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
H A DSystemTest.java625 boolean exception = false;
629 exception = true;
631 assertTrue("Expected IllegalArgumentException", exception);
1202 fail("Unknown exception was thrown.");
/dalvik/vm/oo/
H A DClass.c139 and meta-data references (e.g. annotations and exception handler lists).
1142 * If the class can't be found, returns NULL with an appropriate exception
1170 * If the class can't be found, returns NULL with an appropriate exception
1202 * Returns with NULL and an exception raised on error.
1280 LOGD("NOTE: loadClass '%s' %p threw exception %s\n",
1349 * On failure, this returns NULL with an exception raised.
1363 * On failure, this returns NULL with an exception raised.
1385 * We don't expect an exception to be raised at this point. The
1386 * exception handling code is good about managing this. This *can*
1397 LOGE("Class lookup %s attemped while exception
3561 Object* exception; local
[all...]
/dalvik/libcore/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/
H A DPreferencesTest.java331 stream.setResult(MockInputStream.exception);
1802 static final int exception = 1; field in class:PreferencesTest.MockInputStream
1818 case exception:
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DFileTest.java310 fail("Unexpected exception:" + e);
328 fail("Unexpected exception:" + e);
330 fail("Unexpected exception:" + e);
756 boolean exception = false;
760 exception = true;
762 assertTrue("File system is case insensitive", exception);
1033 fail("Unexpected exception during tests : " + e.getMessage());
/dalvik/libcore/support/src/test/java/tests/resources/
H A Djunit4-4.3.1.jar ... Protectable p protected void setUp () throws java.lang.Exception protected void tearDown () throws java.lang.Exception } junit ...

Completed in 715 milliseconds

12345