JavaTM 2 Platform
Std. Ed. v1.3

java.lang
クラス ArrayIndexOutOfBoundsException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--java.lang.IndexOutOfBoundsException
                          |
                          +--java.lang.ArrayIndexOutOfBoundsException
すべての実装インタフェース:
Serializable

public class ArrayIndexOutOfBoundsException
extends IndexOutOfBoundsException

不正なインデックスを使って配列がアクセスされたことを示すためにスローされます。つまり、インデックスが負または、配列のサイズ以上の場合です。

導入されたバージョン:
JDK1.0
関連項目:
直列化された形式

コンストラクタの概要
ArrayIndexOutOfBoundsException()
          詳細メッセージを指定しないで ArrayIndexOutOfBoundsException を構築します。
ArrayIndexOutOfBoundsException(int index)
          不正なインデックスを示す引数で、ArrayIndexOutOfBoundsException クラスを新しく構築します。
ArrayIndexOutOfBoundsException(String s)
          指定された詳細メッセージを持つ ArrayIndexOutOfBoundsException クラスを構築します。
 
クラス java.lang.Throwable から継承したメソッド
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

ArrayIndexOutOfBoundsException

public ArrayIndexOutOfBoundsException()
詳細メッセージを指定しないで ArrayIndexOutOfBoundsException を構築します。

ArrayIndexOutOfBoundsException

public ArrayIndexOutOfBoundsException(int index)
不正なインデックスを示す引数で、ArrayIndexOutOfBoundsException クラスを新しく構築します。
パラメータ:
index - 不正なインデックス

ArrayIndexOutOfBoundsException

public ArrayIndexOutOfBoundsException(String s)
指定された詳細メッセージを持つ ArrayIndexOutOfBoundsException クラスを構築します。
パラメータ:
s - 詳細メッセージ

JavaTM 2 Platform
Std. Ed. v1.3

バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。

Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.