public class ConcurrentModificationException extends RuntimeException
ConcurrentModificationException
is thrown when a Collection is
modified and an existing iterator on the Collection is used to modify the
Collection as well.RuntimeException
Constructor and Description |
---|
ConcurrentModificationException()
Constructs a new
ConcurrentModificationException with the current
stack trace filled in. |
ConcurrentModificationException(String detailMessage)
Constructs a new
ConcurrentModificationException with the current
stack trace and message filled in. |
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
public ConcurrentModificationException()
ConcurrentModificationException
with the current
stack trace filled in.public ConcurrentModificationException(String detailMessage)
ConcurrentModificationException
with the current
stack trace and message filled in.detailMessage
- the detail message for the exception.