java.util
Class ConcurrentModificationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.util.ConcurrentModificationException
- All Implemented Interfaces:
- Serializable
public class ConcurrentModificationException
- extends RuntimeException
This runtime exception is thrown when a Collection is modified and an
existing iterator on the Collection is used to modify the Collection as well.
- See Also:
RuntimeException,
Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ConcurrentModificationException
public ConcurrentModificationException()
- Constructs a new instance of this class with its walkback filled in.
ConcurrentModificationException
public ConcurrentModificationException(String detailMessage)
- Constructs a new instance of this class with its walkback and message
filled in.
- Parameters:
detailMessage - String The detail message for the exception.
Please submit a feedback, bug or feature