Professional Documents
Culture Documents
Javainput
Javainput
util
Class InputMismatchException
java.lang.Object
o java.lang.Throwable
o
java.lang.Exception
java.lang.RuntimeException
java.util.NoSuchElementException
java.util.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.
Since:
1.5
See Also:
Scanner, Serialized Form