CDC 1.1.2

java.util
クラス NoSuchElementException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 java.lang.RuntimeException
              上位を拡張 java.util.NoSuchElementException
すべての実装されたインタフェース:
Serializable

public class NoSuchElementException
extends RuntimeException

この列挙にそれ以上の要素がないと、EnumerationnextElement メソッドによってスローされます。

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

コンストラクタの概要
NoSuchElementException()
          エラーメッセージ文字列に null を使用して NoSuchElementException を構築します。
NoSuchElementException(String s)
          NoSuchElementException を構築します。
 
メソッドの概要
 
クラス 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
 

コンストラクタの詳細

NoSuchElementException

public NoSuchElementException()
エラーメッセージ文字列に null を使用して NoSuchElementException を構築します。


NoSuchElementException

public NoSuchElementException(String s)
NoSuchElementException を構築します。この際、エラーメッセージ文字列 s に参照を保存することにより、あとで getMessage メソッドで取得できるようにします。

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

CDC 1.1.2

Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use of this specification is subject to license terms.