← 返回首页
EOFException (Java SE 26 & JDK 26)
JavaScript is disabled on your browser.
Contents  
  1. Description
  2. Constructor Summary
  3. Method Summary
  4. Constructor Details
    1. EOFException()
    2. EOFException(String)
Hide sidebar  Show sidebar

Class EOFException

All Implemented Interfaces: Serializable
public class EOFException extends IOException
Signals that an end of file or end of stream has been reached unexpectedly during input.

This exception is mainly used by data input streams to signal end of stream. Note that many other input operations return a special value on end of stream rather than throwing an exception.

Since: 1.0 See Also:

Scripting on this page tracks web page traffic, but does not change the content in any way.