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
,
Serialized FormConstructor 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. |
ConcurrentModificationException(String detailMessage,
Throwable cause)
Constructs a new
ConcurrentModificationException with the given detail
message and cause. |
ConcurrentModificationException(Throwable cause)
Constructs a new
ConcurrentModificationException with the given cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, 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.public ConcurrentModificationException(String detailMessage, Throwable cause)
ConcurrentModificationException
with the given detail
message and cause.public ConcurrentModificationException(Throwable cause)
ConcurrentModificationException
with the given cause.