FileDocCategorySizeDatePackage
InputMismatchException.javaAPI DocAndroid 1.5 API1752Wed May 06 22:41:04 BST 2009java.util

InputMismatchException

public class InputMismatchException extends NoSuchElementException implements Serializable
An {@code InputMismatchException} is thrown by a scanner to indicate that the next token does not match or is out of range for the type specified in the pattern.
see
Scanner
see
java.lang.RuntimeException
since
Android 1.0

Fields Summary
static final long
serialVersionUID
Constructors Summary
public InputMismatchException()
Constructs a new {@code InputMismatchException} with the current stack trace filled in.

    
                     
      
        super();
    
public InputMismatchException(String msg)
Constructs a new {@code InputMismatchException} with the stack trace filled in and {@code msg} as its error message.

param
msg the specified error message.

        super(msg);
    
Methods Summary