Home
last modified time | relevance | path

Searched refs:ConcurrentModificationException (Results 1 – 25 of 60) 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.java546 throw new ConcurrentModificationException(); in equalsRange()
565 throw new ConcurrentModificationException(); in equalsArrayList()
580 throw new ConcurrentModificationException(); in checkForComodification()
597 throw new ConcurrentModificationException(); in hashCodeRange()
877 throw new ConcurrentModificationException(); in writeObject()
988 throw new ConcurrentModificationException(); in next()
1005 throw new ConcurrentModificationException(); in remove()
1017 throw new ConcurrentModificationException(); in forEachRemaining()
1029 throw new ConcurrentModificationException(); in checkForComodification()
1062 throw new ConcurrentModificationException(); in previous()
[all …]
DIdentityHashMap.java737 throw new ConcurrentModificationException(); in nextIndex()
751 throw new ConcurrentModificationException(); in remove()
1031 throw new ConcurrentModificationException(); in toArray()
1038 throw new ConcurrentModificationException(); in toArray()
1118 throw new ConcurrentModificationException(); in toArray()
1125 throw new ConcurrentModificationException(); in toArray()
1237 throw new ConcurrentModificationException(); in toArray()
1244 throw new ConcurrentModificationException(); in toArray()
1358 throw new ConcurrentModificationException(); in forEach()
1377 throw new ConcurrentModificationException(); in replaceAll()
[all …]
DAbstractList.java393 throw new ConcurrentModificationException(); in remove()
399 throw new ConcurrentModificationException(); in checkForComodification()
442 throw new ConcurrentModificationException(); in set()
456 throw new ConcurrentModificationException(); in add()
737 throw new ConcurrentModificationException(); in get()
743 throw new ConcurrentModificationException(); in checkAbstractListModCount()
904 throw new ConcurrentModificationException(); in checkForComodification()
DVector.java998 throw new ConcurrentModificationException(); in bulkRemove()
1009 throw new ConcurrentModificationException(); in bulkRemove()
1310 throw new ConcurrentModificationException(); in forEachRemaining()
1322 throw new ConcurrentModificationException(); in checkForComodification()
1393 throw new ConcurrentModificationException(); in forEach()
1408 throw new ConcurrentModificationException(); in replaceAll()
1419 throw new ConcurrentModificationException(); in sort()
1483 throw new ConcurrentModificationException(); in tryAdvance()
1498 throw new ConcurrentModificationException(); in forEachRemaining()
DLinkedHashMap.java598 throw new ConcurrentModificationException(); in forEach()
648 throw new ConcurrentModificationException(); in forEach()
712 throw new ConcurrentModificationException(); in forEach()
726 throw new ConcurrentModificationException(); in forEach()
737 throw new ConcurrentModificationException(); in replaceAll()
760 throw new ConcurrentModificationException(); in nextNode()
773 throw new ConcurrentModificationException(); in remove()
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.java278 throw new ConcurrentModificationException(); in nonNullElementAt()
735 throw new ConcurrentModificationException(); in forEachRemaining()
742 throw new ConcurrentModificationException(); in forEachRemaining()
776 throw new ConcurrentModificationException(); in forEachRemaining()
784 throw new ConcurrentModificationException(); in forEachRemaining()
853 throw new ConcurrentModificationException(); in forEachRemaining()
899 if (end != tail) throw new ConcurrentModificationException(); in forEach()
939 if (end != tail) throw new ConcurrentModificationException(); in bulkRemove()
998 if (end != tail) throw new ConcurrentModificationException(); in bulkRemoveModified()
DWeakHashMap.java809 throw new ConcurrentModificationException(); in nextEntry()
824 throw new ConcurrentModificationException(); in remove()
1031 throw new ConcurrentModificationException(); in forEach()
1053 throw new ConcurrentModificationException(); in replaceAll()
1144 throw new ConcurrentModificationException(); in forEachRemaining()
1164 throw new ConcurrentModificationException(); in tryAdvance()
1222 throw new ConcurrentModificationException(); in forEachRemaining()
1241 throw new ConcurrentModificationException(); in tryAdvance()
1304 throw new ConcurrentModificationException(); in forEachRemaining()
1326 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/Vector/
DComodifiedRemoveAllElements.java34 import java.util.ConcurrentModificationException;
46 } catch (ConcurrentModificationException cme) { in main()
/libcore/ojluni/src/test/java/util/LinkedHashMap/
DEmptyMapIterator.java31 import java.util.ConcurrentModificationException;
49 } catch (ConcurrentModificationException e) { in testEmptyMapIterator()
/libcore/ojluni/src/main/java/java/nio/file/
DDirectoryIteratorException.java28 import java.util.ConcurrentModificationException;
44 extends ConcurrentModificationException
/libcore/luni/src/test/java/libcore/java/util/
DOldLinkedHashMapTest.java20 import java.util.ConcurrentModificationException;
46 } catch(ConcurrentModificationException expected) { in testLinkedHashMap()
DPriorityQueueTest.java26 import java.util.ConcurrentModificationException;
80 assertThrows(ConcurrentModificationException.class, () -> pq.forEach(pq::add)); in forEach_throwsCME_ifConsumerModifiesQueue()
DForEachRemainingTester.java22 import java.util.ConcurrentModificationException;
104 } catch (ConcurrentModificationException expected) { in test_forEachRemaining_CME()
123 } catch (ConcurrentModificationException expected) { in test_forEachRemaining_CME_list()
DWeakHashMapTest.java21 import java.util.ConcurrentModificationException;
49 } catch (ConcurrentModificationException expected) { in test_replaceAll()
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/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/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