public class EOFException extends IOException
此异常主要用于数据输入流到流的信号端。请注意,许多其他输入操作返回一个特殊的值,在流结束,而不是抛出一个异常。
DataInputStream
,
IOException
,
Serialized Form
Constructor and Description |
---|
EOFException()
构建一个
EOFException
null 作为它的错误详细信息。
|
EOFException(String s)
构建一个指定详细信息的
EOFException 。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public EOFException()
EOFException
null
作为它的错误详细信息。
public EOFException(String s)
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.