全パッケージ  クラス階層  このパッケージ  前項目  次項目  インデックス

クラス java.lang.ArrayIndexOutOfBoundsException

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

public class ArrayIndexOutOfBoundsException
extends IndexOutOfBoundsException
間違った添字を使って配列がアクセスされたことを示すためにスローされます。つまり、添字が負または、配列のサイズ以上の場合です。


Constructor Index

 o ArrayIndexOutOfBoundsException()
詳細メッセージを付けずに ArrayIndexOutOfBoundsException を構築する。
 o ArrayIndexOutOfBoundsException(int)
間違った添字を示す引数を付けて、新規の ArrayIndexOutOfBoundsException クラスを構築する。
 o ArrayIndexOutOfBoundsException(String)
指定の詳細メッセージを付けて ArrayIndexOutOfBoundsException クラスを構築する。

Constructors

 o ArrayIndexOutOfBoundsException
  public ArrayIndexOutOfBoundsException()
詳細メッセージを付けずに ArrayIndexOutOfBoundsException を構築します。

 o ArrayIndexOutOfBoundsException
  public ArrayIndexOutOfBoundsException(int index)
間違った添字を示す引数を付けて、新規の ArrayIndexOutOfBoundsException クラスを構築します。

パラメータ:
index - 間違った添字
 o ArrayIndexOutOfBoundsException
  public ArrayIndexOutOfBoundsException(String s)
指定の詳細メッセージを付けて ArrayIndexOutOfBoundsException クラスを構築します。

パラメータ:
s - 詳細メッセージ

全パッケージ  クラス階層  このパッケージ  前項目  次項目  インデックス