Home
last modified time | relevance | path

Searched refs:ArrayStoreException (Results 1 – 25 of 46) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DArrayStoreExceptionTest.java28 ArrayStoreException e = new ArrayStoreException(); in test_Constructor()
38 ArrayStoreException e = new ArrayStoreException("fixture"); in test_ConstructorLjava_lang_String()
/libcore/ojluni/src/main/java/java/lang/
DArrayStoreException.java39 public class ArrayStoreException extends RuntimeException { class
46 public ArrayStoreException() { in ArrayStoreException() method in ArrayStoreException
56 public ArrayStoreException(String s) { in ArrayStoreException() method in ArrayStoreException
/libcore/luni/src/test/java/libcore/java/lang/
DOldSystemTest.java41 } catch(ArrayStoreException ase) { in test_arraycopyLjava_lang_ObjectILjava_lang_ObjectII()
49 } catch(ArrayStoreException ase) { in test_arraycopyLjava_lang_ObjectILjava_lang_ObjectII()
57 } catch(ArrayStoreException ase) { in test_arraycopyLjava_lang_ObjectILjava_lang_ObjectII()
65 } catch(ArrayStoreException ase) { in test_arraycopyLjava_lang_ObjectILjava_lang_ObjectII()
73 } catch(ArrayStoreException ase) { in test_arraycopyLjava_lang_ObjectILjava_lang_ObjectII()
81 } catch(ArrayStoreException ase) { in test_arraycopyLjava_lang_ObjectILjava_lang_ObjectII()
DSystemTest.java81 } catch (ArrayStoreException e) { in testArrayCopyTargetNotArray()
90 } catch (ArrayStoreException e) { in testArrayCopySourceNotArray()
99 } catch (ArrayStoreException e) { in testArrayCopyArrayTypeMismatch()
109 } catch (ArrayStoreException e) { in testArrayCopyElementTypeMismatch()
155 } catch (ArrayStoreException ignored) { in testArrayCopyConcurrentModification()
/libcore/ojluni/src/test/java/util/Arrays/
DFill.java45 catch (ArrayStoreException e) { pass(); } in realMain()
52 catch (ArrayStoreException e) { pass(); } in realMain()
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationMember.java302 } else if (value instanceof ArrayStoreException) { in rethrowError()
303 ArrayStoreException ase = (ArrayStoreException)value; in rethrowError()
304 throw new ArrayStoreException(ase.getMessage()); in rethrowError()
/libcore/ojluni/src/test/java/util/Vector/
DCopyInto.java43 catch (ArrayStoreException e) { pass(); } in realMain()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DProxyTest.java134 throw new ArrayStoreException(); in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler()
164 } catch (ArrayStoreException e) { in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DAbstractCollectionTest.java297 } catch (ArrayStoreException e) { in test_toArray$Ljava_lang_Object()
DLinkedHashSetTest.java329 } catch (ArrayStoreException e) { in test_toArray$Ljava_lang_Object()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DToArrayOpTest.java141 assertEquals(caught.getClass(), ArrayStoreException.class); in testDistinctAndSortedPermutations()
209 assertEquals(caught.getClass(), ArrayStoreException.class);
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleBaseTest.java79 checkWithThrowable(ArrayStoreException.class, null, r); in checkASE()
83 checkWithThrowable(ArrayStoreException.class, message, r); in checkASE()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DArrayDequeTest.java792 } catch (ArrayStoreException success) {} in testToArray_incompatibleArrayType()
796 } catch (ArrayStoreException success) {} in testToArray_incompatibleArrayType()
DCopyOnWriteArraySetTest.java403 } catch (ArrayStoreException success) {} in testToArray_ArrayStoreException()
DArrayBlockingQueueTest.java737 } catch (ArrayStoreException success) {} in testToArray_incompatibleArrayType()
741 } catch (ArrayStoreException success) {} in testToArray_incompatibleArrayType()
DConcurrentLinkedQueueTest.java457 } catch (ArrayStoreException success) {} in testToArray1_BadArg()
DLinkedListTest.java421 } catch (ArrayStoreException success) {} in testToArray1_BadArg()
DCopyOnWriteArrayListTest.java564 } catch (ArrayStoreException success) {} in testToArray_ArrayStoreException()
DPriorityBlockingQueueTest.java606 } catch (ArrayStoreException success) {} in testToArray1_BadArg()
DDelayQueueTest.java625 } catch (ArrayStoreException success) {} in testToArray1_BadArg()
/libcore/jsr166-tests/src/test/java/jsr166/
DCopyOnWriteArraySetTest.java381 } catch (ArrayStoreException success) {} in testToArray_ArrayStoreException()
DConcurrentLinkedQueueTest.java424 } catch (ArrayStoreException success) {} in testToArray1_BadArg()
DLinkedListTest.java380 } catch (ArrayStoreException success) {} in testToArray1_BadArg()
DPriorityBlockingQueueTest.java573 } catch (ArrayStoreException success) {} in testToArray1_BadArg()
DDelayQueueTest.java617 } catch (ArrayStoreException success) {} in testToArray1_BadArg()

12