java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
- すべての実装されたインタフェース:
- Serializable
public class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException
不正なインデックスを使って配列がアクセスされたことを示すためにスローされます。 つまり、インデックスが負または、配列のサイズ以上の場合です。 
- 導入されたバージョン:
- 1.0
- 関連項目:
- 
コンストラクタのサマリーコンストラクタコンストラクタ説明詳細メッセージなしでArrayIndexOutOfBoundsExceptionを構築します。ArrayIndexOutOfBoundsException(int index) 不正なインデックスを示す引数を持つ新しいArrayIndexOutOfBoundsExceptionクラスを構築します。指定された詳細メッセージを持つArrayIndexOutOfBoundsExceptionクラスを構築します。
- 
メソッドのサマリークラス java.lang.Throwableで宣言されたメソッドaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
コンストラクタの詳細- 
ArrayIndexOutOfBoundsExceptionpublic ArrayIndexOutOfBoundsException()詳細メッセージなしでArrayIndexOutOfBoundsExceptionを構築します。
- 
ArrayIndexOutOfBoundsExceptionpublic ArrayIndexOutOfBoundsException(String s) 指定された詳細メッセージを持つArrayIndexOutOfBoundsExceptionクラスを構築します。- パラメータ:
- s- 詳細メッセージ。
 
- 
ArrayIndexOutOfBoundsExceptionpublic ArrayIndexOutOfBoundsException(int index) 不正なインデックスを示す引数を持つ新しいArrayIndexOutOfBoundsExceptionクラスを構築します。インデックスは、この例外詳細メッセージに含まれています。 詳細メッセージの正確な提示形式は不特定です。 - パラメータ:
- index- 不正なインデックス。
 
 
-