Error occurring when a collection is modified during iteration.

Some modifications may be allowed for some collections, so each collection (Iterable or similar collection of values) should declare which operations are allowed during an iteration.

Inheritance

Properties

modifiedObject Object
read-only

The object that was modified in an incompatible way.

stackTrace StackTrace
read-only, inherited

Constructors

ConcurrentModificationError([Object modifiedObject])

Methods

toString() → String

Returns a string representation of this object.