java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | java.util.ConcurrentModificationException |
An ConcurrentModificationException
is thrown when a Collection is
modified and an existing iterator on the Collection is used to modify the
Collection as well.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new
ConcurrentModificationException with the current
stack trace filled in. | |||||||||||
Constructs a new
ConcurrentModificationException with the current
stack trace and message filled in. | |||||||||||
Constructs a new
ConcurrentModificationException with the given detail
message and cause. | |||||||||||
Constructs a new
ConcurrentModificationException with the given cause. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Constructs a new ConcurrentModificationException
with the current
stack trace filled in.
Constructs a new ConcurrentModificationException
with the current
stack trace and message filled in.
detailMessage | the detail message for the exception. |
---|
Constructs a new ConcurrentModificationException
with the given detail
message and cause.
Constructs a new ConcurrentModificationException
with the given cause.