# Uses of Class
java.util.NoSuchElementException

Packages that use NoSuchElementException
Package
Description
java.util
Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.

## Uses of NoSuchElementException in java.util

Subclasses of NoSuchElementException in java.util
Modifier and Type
Class
Description
`class`
`InputMismatchException`
Thrown by a `Scanner` to indicate that the token retrieved does not match the pattern for the expected type, or that the token is out of range for the expected type.