java.io
Class EOFException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byjava.io.EOFException
All Implemented Interfaces:
Serializable

public class EOFException
extends IOException

This End Of File (EOF) exception is thrown when a program encounters the end of a file or stream during an operation.

See Also:
Serialized Form

Constructor Summary
EOFException()
          Constructs a new instance of this class with its walkback filled in.
EOFException(java.lang.String detailMessage)
          Constructs a new instance of this class with its walkback and message filled in.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EOFException

public EOFException()
Constructs a new instance of this class with its walkback filled in.


EOFException

public EOFException(java.lang.String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.

Parameters:
detailMessage - The detail message for the exception.