java.io
Class EOFException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--java.io.EOFException

public class EOFException
extends IOException

Signals that and EOF has been reached unexpectedly during input.

See Also:
IOException, DataInputStream

Constructor Summary
EOFException()
          Constructs an EOFException with no detail message.
EOFException(String s)
          Constructs an EOFException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EOFException

public EOFException()
Constructs an EOFException with no detail message. A detail message is a String that describes this particular exception.


EOFException

public EOFException(String s)
Constructs an EOFException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters:
s - the detail message