public class EndOfStreamException extends IOException
Constructor and Description |
---|
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.
|
public EndOfStreamException()
public EndOfStreamException(java.lang.String message)
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.public EndOfStreamException(java.lang.String message, java.lang.Exception innerException)
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.