AbstractCollection.java, [...]: Added additional exceptions to documentation...
2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org> * java/util/AbstractCollection.java, java/util/AbstractList.java, java/util/AbstractMap.java, java/util/AbstractSequentialList.java, java/util/ArrayList.java, java/util/Arrays.java, java/util/BitSet.java, java/util/Calendar.java, java/util/Collection.java, java/util/ListIterator.java, java/util/Map.java, java/util/SortedSet.java: Added additional exceptions to documentation, along with some additions and corrections. From-SVN: r86730
This commit is contained in:
committed by
Andreas Tobler
parent
294fbfc89f
commit
477a21f7f9
@@ -127,12 +127,12 @@ public interface ListIterator extends Iterator
|
||||
* by nextIndex() and previousIndex() are incremented.
|
||||
*
|
||||
* @param o the object to insert into the list
|
||||
* @throws ClassCastException the object is of a type which cannot be added
|
||||
* to this list
|
||||
* @throws IllegalArgumentException some other aspect of the object stops
|
||||
* it being added to this list
|
||||
* @throws ClassCastException if the object is of a type which cannot be added
|
||||
* to this list.
|
||||
* @throws IllegalArgumentException if some other aspect of the object stops
|
||||
* it being added to this list.
|
||||
* @throws UnsupportedOperationException if this ListIterator does not
|
||||
* support the add operation
|
||||
* support the add operation.
|
||||
*/
|
||||
void add(Object o);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user