Back to index
Exception thrown when an attempt is made to access an element that does not exist. More...
|Constructs a NoSuchElementException with no detail message. |
|NoSuchElementException (String detail)|
|Constructs a NoSuchElementException with a detail message. |
|static final long||serialVersionUID = 6769829250639411880L|
|Compatible with JDK 1.0. |
Exception thrown when an attempt is made to access an element that does not exist.
This exception is thrown by the Enumeration, Iterator and ListIterator classes if the nextElement, next or previous method goes beyond the end of the list of elements that are being accessed. It is also thrown by Vector and Stack when attempting to access the first or last element of an empty collection.
|final long java.util.NoSuchElementException.serialVersionUID = 6769829250639411880L