java.io

Class EOFException

public class EOFException extends IOException

This exception is thrown when the end of the file or stream was encountered unexpectedly. This is not the normal way that an EOF condition is reported; such as a special value like -1 being returned. However, certain types of streams expecting certain data in a certain format might reach EOF before reading their expected data pattern and thus throw this exception.

UNKNOWN: updated to 1.4

Constructor Summary
EOFException()
Create an exception without a descriptive error message.
EOFException(String message)
Create an exception with a descriptive error message.

Constructor Detail

EOFException

public EOFException()
Create an exception without a descriptive error message.

EOFException

public EOFException(String message)
Create an exception with a descriptive error message.

Parameters: message the descriptive error message