Use 'a' operand code for prefetch instruction.
[official-gcc.git] / libjava / java / util / ConcurrentModificationException.java
blob364ba3bb49ae3b71a520e2a404fc37887cd0cf6e
1 /* ConcurrentModificationException.java -- Data structure concurrently modified
2 Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc.
4 This file is part of GNU Classpath.
6 GNU Classpath is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
11 GNU Classpath is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU Classpath; see the file COPYING. If not, write to the
18 Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19 02111-1307 USA.
21 As a special exception, if you link this library with other files to
22 produce an executable, this library does not by itself cause the
23 resulting executable to be covered by the GNU General Public License.
24 This exception does not however invalidate any other reasons why the
25 executable file might be covered by the GNU General Public License. */
28 package java.util;
30 /* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3
31 * "The Java Language Specification", ISBN 0-201-63451-1
32 * plus online API docs for JDK 1.2 beta from http://www.javasoft.com.
35 /**
36 * Exception that is thrown by the collections classes when it is detected that
37 * a modification has been made to a data structure when this is not allowed,
38 * such as when a collection is structurally modified while an Iterator is
39 * operating over it. In cases where this can be detected, a
40 * ConcurrentModificationException will be thrown. An Iterator that detects
41 * this condition is referred to as fail-fast. Notice that this can occur
42 * even in single-threaded designs, if you call methods out of order.
44 * @author Warren Levy <warrenl@cygnus.com>
45 * @author Eric Blake <ebb9@email.byu.edu>
46 * @see Collection
47 * @see Iterator
48 * @see ListIterator
49 * @see Vector
50 * @see LinkedList
51 * @see HashSet
52 * @see Hashtable
53 * @see TreeMap
54 * @see AbstractList
55 * @since 1.2
56 * @status updated to 1.4
58 public class ConcurrentModificationException extends RuntimeException
60 /**
61 * Compatible with JDK 1.2.
63 private static final long serialVersionUID = -3666751008965953603L;
65 /**
66 * Constructs a ConcurrentModificationException with no detail message.
68 public ConcurrentModificationException()
72 /**
73 * Constructs a ConcurrentModificationException with a detail message.
75 * @param detail the detail message for the exception
77 public ConcurrentModificationException(String detail)
79 super(detail);