System.IO
Class EndOfStreamException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by System.SystemException
                  extended by System.IO.IOException
                      extended by System.IO.EndOfStreamException
All Implemented Interfaces:
java.io.Serializable

public class EndOfStreamException
extends IOException

The exception that is thrown when reading is attempted past the end of a stream.

Author:
Halofreak1990
See Also:
Serialized Form

Constructor Summary
EndOfStreamException()
          Initializes a new instance of the EndOfStreamException class with its message string set to a system-supplied message.
EndOfStreamException(java.lang.String message)
          Initializes a new instance of the EndOfStreamException class with its message string set to message.
EndOfStreamException(java.lang.String message, java.lang.Exception innerException)
          Initializes a new instance of the EndOfStreamException class with a specified error message and a reference to the inner exception that is the cause of this exception.
 
Method Summary
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EndOfStreamException

public EndOfStreamException()
Initializes a new instance of the EndOfStreamException class with its message string set to a system-supplied message.


EndOfStreamException

public EndOfStreamException(java.lang.String message)
Initializes a new instance of the EndOfStreamException class with its message string set to message.

Parameters:
message - A string that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

EndOfStreamException

public EndOfStreamException(java.lang.String message,
                            java.lang.Exception innerException)
Initializes a new instance of the EndOfStreamException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Parameters:
message - A string that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
innerException - The exception that is the cause of the current exception. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.