|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IndexOutOfBoundsException
java.lang.StringIndexOutOfBoundsException
public class StringIndexOutOfBoundsException
String
메소드에 의해 throw 되어 인덱스가 부 또는 캐릭터 라인의 사이즈보다 큰 일을 나타냅니다. charAt 등의 몇개의 메소드에서는, 인덱스가 캐릭터 라인의 사이즈와 동일한 경우에도, 이 예외가 throw 됩니다.
String.charAt(int)
,
직렬화 된 형식 생성자 의 개요 | |
---|---|
StringIndexOutOfBoundsException ()
상세 메세지를 지정하지 않고 StringIndexOutOfBoundsException 를 구축합니다. |
|
StringIndexOutOfBoundsException (int index)
부정한 인덱스를 나타내는 인수를 가지는 새로운 StringIndexOutOfBoundsException 클래스를 생성합니다. |
|
StringIndexOutOfBoundsException (String s)
지정된 상세 메세지를 가지는 StringIndexOutOfBoundsException 를 구축합니다. |
메소드의 개요 |
---|
클래스 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 StringIndexOutOfBoundsException()
StringIndexOutOfBoundsException
를 구축합니다.
public StringIndexOutOfBoundsException(String s)
StringIndexOutOfBoundsException
를 구축합니다.
s
- 상세 메세지public StringIndexOutOfBoundsException(int index)
StringIndexOutOfBoundsException
클래스를 생성합니다.
index
- 부정한 인덱스
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.