콘텐츠로 이동

Class ArrayIndexOutOfBoundsException

package java.lang

java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.lang.IndexOutOfBoundsException
|
+--java.lang.ArrayIndexOutOfBoundsException

extends IndexOutOfBoundsException:

유효하지 않은 색인으로 배열을 액세스했음을 나타냅니다. 색인이 음수이거나 배열 크기보다 크거나 같습니다.

Since:

  • JDK1.0, CLDC 1.0
  • ArrayIndexOutOfBoundsException () 세부 정보 메시지 없이 ArrayIndexOutOfBoundsException 을 구성합니다.
  • ArrayIndexOutOfBoundsException (int index) 유효하지 않은 색인을 나타내는 인자를 사용하여 새로운 ArrayIndexOutOfBoundsException 클래스를 구성합니다.
  • ArrayIndexOutOfBoundsException ( String s) 지정한 세부 정보 메시지를 사용하여 ArrayIndexOutOfBoundsException 클래스를 구성합니다.
public ArrayIndexOutOfBoundsException()
  • 세부 정보 메시지 없이 ArrayIndexOutOfBoundsException을 구성합니다.
public ArrayIndexOutOfBoundsException(int index)
  • 유효하지 않은 색인을 나타내는 인자를 사용하여 새로운 ArrayIndexOutOfBoundsException 클래스를 구성합니다.

Parameters:

  • index - 유효하지 않은 색인
public ArrayIndexOutOfBoundsException(String s)
  • 지정한 세부 정보 메시지를 사용하여 ArrayIndexOutOfBoundsException 클래스를 구성합니다.

Parameters:

  • s - 세부 정보 메시지