java.io
Class EOFException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.io.IOException
|
+--java.io.EOFException
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.
Authors:- Aaron M. Renn (arenn@urbanophile.com)
- Tom Tromey <tromey@cygnus.com>
EOFException
public EOFException()
Create an exception without a descriptive error message.
EOFException
public EOFException(java.lang.String message)
Create an exception with a descriptive error message.
Parameters: