java.util.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
InputMismatchException()
Constructs a InputMismatchException with no error message
public
InputMismatchException(String msg)
Constructs a InputMismatchException with msg as its error message
Parameters
msg
| The specified error message
|