Package java.io

Class EOFException

All Implemented Interfaces:
Serializable

public class EOFException
extends IOException
Thrown when a program encounters the end of a file or stream during an input operation.
See Also:
Serialized Form
  • Constructor Details

    • EOFException

      public EOFException()
      Constructs a new EOFException with its stack trace filled in.
    • EOFException

      public EOFException​(String detailMessage)
      Constructs a new EOFException with its stack trace and detail message filled in.
      Parameters:
      detailMessage - the detail message for this exception.