public class NoSuchElementException extends RuntimeException
Enumeration.nextElement()
,
Iterator.next()
,
Serialized Form
Constructor and Description |
---|
NoSuchElementException()
构建了一个
NoSuchElementException 与
null作为它的错误信息字符串。
|
NoSuchElementException(String s)
构建了一个
NoSuchElementException ,节约参考错误信息字符串
s以后的
getMessage方法检索。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NoSuchElementException()
NoSuchElementException
与
null作为它的错误信息字符串。
public NoSuchElementException(String s)
NoSuchElementException
,节约参考错误信息字符串
s以后的
getMessage方法检索。
s
-详细信息。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.