public class EOFException extends IOException
这个异常主要由数据输入流用来表示流的结尾。 请注意,许多其他输入操作在流的末尾返回特殊值,而不是抛出异常。
DataInputStream , IOException , Serialized Form
| Constructor and Description |
|---|
EOFException()
构造一个
EOFException与
null作为其错误详细消息。
|
EOFException(String s)
构造具有
EOFException的详细消息的EOFException。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic EOFException()
EOFException与
null作为其错误详细消息。
public EOFException(String s)
EOFException详细消息的EOFException。
字符串s可稍后由检索Throwable.getMessage()类的方法java.lang.Throwable 。
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.