Home
last modified time | relevance | path

Searched refs:ConcurrentModificationException (Results 1 – 25 of 63) sorted by relevance

123

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DConcurrentModificationExceptionTest.java21 import java.util.ConcurrentModificationException;
65 } catch (ConcurrentModificationException e) { in test_Constructor()
85 throw new ConcurrentModificationException(errorMessage); in test_ConstructorLjava_lang_String()
86 } catch (ConcurrentModificationException e) { in test_ConstructorLjava_lang_String()
97 assertMessageAndCause(null, null, new ConcurrentModificationException()); in test_messageAndCause()
98 assertMessageAndCause("msg", null, new ConcurrentModificationException("msg")); in test_messageAndCause()
99 assertMessageAndCause("msg", cause, new ConcurrentModificationException("msg", cause)); in test_messageAndCause()
100 assertMessageAndCause("msg", null, new ConcurrentModificationException("msg", null)); in test_messageAndCause()
101 assertMessageAndCause(null, null, new ConcurrentModificationException((Throwable) null)); in test_messageAndCause()
103 assertMessageAndCause(cause.toString(), cause, new ConcurrentModificationException(cause)); in test_messageAndCause()
DAbstractListTest.java23 import java.util.ConcurrentModificationException;
261 } catch (ConcurrentModificationException cme) { in test_iterator_next()
404 } catch (ConcurrentModificationException e) { in test_remove()
423 } catch (ConcurrentModificationException e) { in test_subListII2()
428 } catch (ConcurrentModificationException e) { in test_subListII2()
433 } catch (ConcurrentModificationException e) { in test_subListII2()
438 } catch (ConcurrentModificationException e) { in test_subListII2()
443 } catch (ConcurrentModificationException e) { in test_subListII2()
448 } catch (ConcurrentModificationException e) { in test_subListII2()
453 } catch (ConcurrentModificationException e) { in test_subListII2()
[all …]
DConcurrentModTest.java23 import java.util.ConcurrentModificationException;
56 } catch (ConcurrentModificationException e) { in testGet()
100 } catch (ConcurrentModificationException e) { in testSet()
130 } catch (ConcurrentModificationException e) { in testAdd()
160 } catch (ConcurrentModificationException e) { in testRemove()
229 } catch (ConcurrentModificationException e) { in testAddAll()
DRefSortedMap.java29 import java.util.ConcurrentModificationException;
120 throw new ConcurrentModificationException(); in entrySet()
128 throw new ConcurrentModificationException(); in entrySet()
139 throw new ConcurrentModificationException(); in entrySet()
/libcore/ojluni/src/main/java/java/util/
DConcurrentModificationException.java70 public class ConcurrentModificationException extends RuntimeException { class
78 public ConcurrentModificationException() { in ConcurrentModificationException() method in ConcurrentModificationException
87 public ConcurrentModificationException(String message) { in ConcurrentModificationException() method in ConcurrentModificationException
102 public ConcurrentModificationException(Throwable cause) { in ConcurrentModificationException() method in ConcurrentModificationException
122 public ConcurrentModificationException(String message, Throwable cause) { in ConcurrentModificationException() method in ConcurrentModificationException
DArrayList.java628 throw new ConcurrentModificationException(); in equalsRange()
647 throw new ConcurrentModificationException(); in equalsArrayList()
662 throw new ConcurrentModificationException(); in checkForComodification()
679 throw new ConcurrentModificationException(); in hashCodeRange()
959 throw new ConcurrentModificationException(); in writeObject()
1070 throw new ConcurrentModificationException(); in next()
1087 throw new ConcurrentModificationException(); in remove()
1099 throw new ConcurrentModificationException(); in forEachRemaining()
1111 throw new ConcurrentModificationException(); in checkForComodification()
1144 throw new ConcurrentModificationException(); in previous()
[all …]
DIdentityHashMap.java756 throw new ConcurrentModificationException(); in nextIndex()
770 throw new ConcurrentModificationException(); in remove()
1050 throw new ConcurrentModificationException(); in toArray()
1057 throw new ConcurrentModificationException(); in toArray()
1137 throw new ConcurrentModificationException(); in toArray()
1144 throw new ConcurrentModificationException(); in toArray()
1258 throw new ConcurrentModificationException(); in toArray()
1265 throw new ConcurrentModificationException(); in toArray()
1379 throw new ConcurrentModificationException(); in forEach()
1398 throw new ConcurrentModificationException(); in replaceAll()
[all …]
DAbstractList.java395 throw new ConcurrentModificationException(); in remove()
401 throw new ConcurrentModificationException(); in checkForComodification()
444 throw new ConcurrentModificationException(); in set()
458 throw new ConcurrentModificationException(); in add()
739 throw new ConcurrentModificationException(); in get()
745 throw new ConcurrentModificationException(); in checkAbstractListModCount()
906 throw new ConcurrentModificationException(); in checkForComodification()
DVector.java998 throw new ConcurrentModificationException(); in bulkRemove()
1009 throw new ConcurrentModificationException(); in bulkRemove()
1304 throw new ConcurrentModificationException(); in forEachRemaining()
1316 throw new ConcurrentModificationException(); in checkForComodification()
1387 throw new ConcurrentModificationException(); in forEach()
1402 throw new ConcurrentModificationException(); in replaceAll()
1413 throw new ConcurrentModificationException(); in sort()
1477 throw new ConcurrentModificationException(); in tryAdvance()
1492 throw new ConcurrentModificationException(); in forEachRemaining()
DPriorityQueue.java538 throw new ConcurrentModificationException();
552 throw new ConcurrentModificationException();
879 throw new ConcurrentModificationException(); in forEachRemaining()
892 throw new ConcurrentModificationException(); in tryAdvance()
955 throw new ConcurrentModificationException(); in bulkRemove()
968 throw new ConcurrentModificationException(); in bulkRemove()
989 throw new ConcurrentModificationException(); in forEach()
DArrayDeque.java277 throw new ConcurrentModificationException(); in nonNullElementAt()
734 throw new ConcurrentModificationException(); in forEachRemaining()
741 throw new ConcurrentModificationException(); in forEachRemaining()
775 throw new ConcurrentModificationException(); in forEachRemaining()
783 throw new ConcurrentModificationException(); in forEachRemaining()
852 throw new ConcurrentModificationException(); in forEachRemaining()
898 if (end != tail) throw new ConcurrentModificationException(); in forEach()
938 if (end != tail) throw new ConcurrentModificationException(); in bulkRemove()
997 if (end != tail) throw new ConcurrentModificationException(); in bulkRemoveModified()
DWeakHashMap.java815 throw new ConcurrentModificationException(); in nextEntry()
830 throw new ConcurrentModificationException(); in remove()
1037 throw new ConcurrentModificationException(); in forEach()
1059 throw new ConcurrentModificationException(); in replaceAll()
1150 throw new ConcurrentModificationException(); in forEachRemaining()
1170 throw new ConcurrentModificationException(); in tryAdvance()
1228 throw new ConcurrentModificationException(); in forEachRemaining()
1247 throw new ConcurrentModificationException(); in tryAdvance()
1310 throw new ConcurrentModificationException(); in forEachRemaining()
1332 throw new ConcurrentModificationException(); in tryAdvance()
/libcore/ojluni/src/test/java/util/ArrayList/
DSubListModCount.java33 import java.util.ConcurrentModificationException;
46 } catch (ConcurrentModificationException expected) { in main()
53 } catch (ConcurrentModificationException expected) { in main()
59 } catch (ConcurrentModificationException expected) { in main()
65 } catch (ConcurrentModificationException expected) { in main()
/libcore/ojluni/src/test/java/util/AbstractList/
DFailFastIterator.java34 import java.util.ConcurrentModificationException;
52 } catch (ConcurrentModificationException e) { in main()
64 } catch (ConcurrentModificationException e) { in main()
75 } catch (ConcurrentModificationException e) { in main()
DCheckForComodification.java36 import java.util.ConcurrentModificationException;
49 } catch (ConcurrentModificationException e) { in main()
/libcore/ojluni/src/test/java/util/LinkedHashMap/
DEmptyMapIterator.java31 import java.util.ConcurrentModificationException;
44 } catch (ConcurrentModificationException e) { in main()
/libcore/ojluni/src/test/java/util/Vector/
DComodifiedRemoveAllElements.java34 import java.util.ConcurrentModificationException;
46 } catch (ConcurrentModificationException cme) { in main()
/libcore/ojluni/src/main/java/java/nio/file/
DDirectoryIteratorException.java28 import java.util.ConcurrentModificationException;
44 extends ConcurrentModificationException
/libcore/ojluni/src/test/java/util/regex/
DPatternStreamTest.java43 import java.util.ConcurrentModificationException;
231 } catch (ConcurrentModificationException e) { in testFailfastMatchResults()
239 } catch (ConcurrentModificationException e) { in testFailfastMatchResults()
249 } catch (ConcurrentModificationException e) { in testFailfastMatchResults()
257 } catch (ConcurrentModificationException e) { in testFailfastMatchResults()
272 } catch (ConcurrentModificationException e) { in testFailfastReplace()
280 } catch (ConcurrentModificationException e) { in testFailfastReplace()
/libcore/luni/src/test/java/libcore/java/util/
DOldLinkedHashMapTest.java20 import java.util.ConcurrentModificationException;
46 } catch(ConcurrentModificationException expected) { in testLinkedHashMap()
DForEachRemainingTester.java22 import java.util.ConcurrentModificationException;
104 } catch (ConcurrentModificationException expected) { in test_forEachRemaining_CME()
123 } catch (ConcurrentModificationException expected) { in test_forEachRemaining_CME_list()
DPriorityQueueTest.java26 import java.util.ConcurrentModificationException;
80 assertThrows(ConcurrentModificationException.class, () -> pq.forEach(pq::add)); in forEach_throwsCME_ifConsumerModifiesQueue()
DRemoveIfTester.java20 import java.util.ConcurrentModificationException;
96 } catch (ConcurrentModificationException expected) { in testRemoveIfCME()
DHashtableTest.java19 import java.util.ConcurrentModificationException;
100 } catch(ConcurrentModificationException expected) {} in test_replaceAll()
/libcore/ojluni/src/main/java/java/util/regex/
DMatcher.java35 import java.util.ConcurrentModificationException;
1319 throw new ConcurrentModificationException(); in replaceAll()
1367 throw new ConcurrentModificationException(); in results()
1399 throw new ConcurrentModificationException(); in results()
1420 throw new ConcurrentModificationException(); in results()
1540 throw new ConcurrentModificationException(); in replaceFirst()

123