|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.util.NoSuchElementException
java.util.InputMismatchException
public class InputMismatchException
취득된 토큰이 예상되는 형태의 패턴과 일치하지 않는지, 예상되는 형태의 범위외인 경우에,Scanner 에 의해 throw 됩니다.
Scanner ,
직렬화 된 형식 | 생성자 의 개요 | |
|---|---|
InputMismatchException ()
에러 메세지 캐릭터 라인에 null 를 사용해 InputMismatchException 를 구축합니다. |
|
InputMismatchException (String s)
InputMismatchException 를 구축합니다. |
|
| 메소드의 개요 |
|---|
| 클래스 java.lang. Throwable 로부터 상속된 메소드 |
|---|
fillInStackTrace , getCause , getLocalizedMessage , getMessage , getStackTrace , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString |
| 클래스 java.lang. Object 로부터 상속된 메소드 |
|---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
| 생성자 의 상세 |
|---|
public InputMismatchException()
InputMismatchException 를 구축합니다.
public InputMismatchException(String s)
InputMismatchException 를 구축합니다. 이 때, 에러 메세지 캐릭터 라인 s 에 참조를 보존하는 것으로써, 나중에 getMessage 메소드로 취득할 수 있도록(듯이) 합니다.
s - 상세 메세지
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.