java.util.NoSuchElementException
This runtime exception is thrown when trying to retrieve an element past the
end of an Enumeration, or the first or last element from an empty Vector.
Known Direct Subclasses
InputMismatchException |
An InputMismatchException is thrown by a scanner to indicate that the next
token does not match the pattern the specified type. |
Summary
Public Constructors
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
NoSuchElementException()
Constructs a new instance of this class with its walkback filled in.
public
NoSuchElementException(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.
|