1 *java.util.InputMismatchException* *InputMismatchException* Thrown by a Scanner
3 public class InputMismatchException
4 extends |java.util.NoSuchElementException|
6 |java.util.InputMismatchException_Description|
7 |java.util.InputMismatchException_Fields|
8 |java.util.InputMismatchException_Constructors|
9 |java.util.InputMismatchException_Methods|
11 ================================================================================
13 *java.util.InputMismatchException_Constructors*
14 |java.util.InputMismatchException()|Constructs an InputMismatchException with n
15 |java.util.InputMismatchException(String)|Constructs an InputMismatchException,
17 *java.util.InputMismatchException_Description*
19 Thrown by a Scanner to indicate that the token retrieved does not match the
20 pattern for the expected type, or that the token is out of range for the
25 *java.util.InputMismatchException()*
27 public InputMismatchException()
29 Constructs an InputMismatchException with null as its error message string.
32 *java.util.InputMismatchException(String)*
34 public InputMismatchException(java.lang.String s)
36 Constructs an InputMismatchException, saving a reference to the error message
37 string s for later retrieval by the getMessage method.
39 s - the detail message.