Thrown by iterators when the underlying collection is modified while an iteration is in progress, detected by a fail-fast mechanism. Use CopyOnWriteArrayList or iterate a snapshot instead.
ConcurrentModificationException
java Thrown by iterators when the underlying collection is modified while an iteration is in progress, detected by a fail-fast mechanism. Use CopyOnWriteArrayList or iterate a snapshot instead.