| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.util.NoSuchElementException
public class NoSuchElementException
由 Enumeration 的 nextElement 方法抛出,表明枚举中没有更多的元素。
Enumeration, 
Enumeration.nextElement(), 
序列化表格| 构造方法摘要 | |
|---|---|
| NoSuchElementException()构造一个 NoSuchElementException,用 null 作为其错误消息字符串。 | |
| NoSuchElementException(String s)构造一个 NoSuchElementException,保存对错误消息字符串 s 的引用,以便将来通过 getMessage 方法进行获取。 | |
| 方法摘要 | 
|---|
| 从类 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 | 
| 构造方法详细信息 | 
|---|
public NoSuchElementException()
NoSuchElementException,用 null 作为其错误消息字符串。
public NoSuchElementException(String s)
NoSuchElementException,保存对错误消息字符串 s 的引用,以便将来通过 getMessage 方法进行获取。
s - 详细消息。| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。