Package java.io
Class EOFException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.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 Summary
Constructors Constructor Description EOFException()Constructs a newEOFExceptionwith its stack trace filled in.EOFException(String detailMessage)Constructs a newEOFExceptionwith its stack trace and detail message filled in. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EOFException
public EOFException()Constructs a newEOFExceptionwith its stack trace filled in. -
EOFException
Constructs a newEOFExceptionwith its stack trace and detail message filled in.- Parameters:
detailMessage- the detail message for this exception.
-