Back to index

plt-scheme  4.2.1
Public Member Functions | Static Private Attributes
java.util.ConcurrentModificationException Class Reference

Exception that is thrown by the collections classes when it is detected that a modification has been made to a data structure when this is not allowed, such as when a collection is structurally modified while an Iterator is operating over it. More...

List of all members.

Public Member Functions

 ConcurrentModificationException ()
 Constructs a ConcurrentModificationException with no detail message.
 ConcurrentModificationException (String detail)
 Constructs a ConcurrentModificationException with a detail message.

Static Private Attributes

static final long serialVersionUID = -3666751008965953603L
 Compatible with JDK 1.2.

Detailed Description

Exception that is thrown by the collections classes when it is detected that a modification has been made to a data structure when this is not allowed, such as when a collection is structurally modified while an Iterator is operating over it.

In cases where this can be detected, a ConcurrentModificationException will be thrown. An Iterator that detects this condition is referred to as fail-fast. Notice that this can occur even in single-threaded designs, if you call methods out of order.

Author:
Warren Levy warre.nosp@m.nl@c.nosp@m.ygnus.nosp@m..com
Eric Blake ebb9@.nosp@m.emai.nosp@m.l.byu.nosp@m..edu
See also:
Collection
Iterator
ListIterator
Vector
LinkedList
HashSet
Hashtable
TreeMap
AbstractList
Since:
1.2 updated to 1.4

Definition at line 69 of file ConcurrentModificationException.java.


Constructor & Destructor Documentation

Constructs a ConcurrentModificationException with no detail message.

Definition at line 79 of file ConcurrentModificationException.java.

  {
  }

Constructs a ConcurrentModificationException with a detail message.

Parameters:
detailthe detail message for the exception

Definition at line 88 of file ConcurrentModificationException.java.

  {
    super(detail);
  }

Member Data Documentation

final long java.util.ConcurrentModificationException.serialVersionUID = -3666751008965953603L [static, private]

Compatible with JDK 1.2.

Definition at line 74 of file ConcurrentModificationException.java.


The documentation for this class was generated from the following file: