NonReadableChannelException

  • NonReadableChannelException is an unchecked exception indicating an attempt to read from a channel not opened for reading.

  • It's thrown when a channel is created for operations like writing, and a read operation is subsequently attempted.

  • This exception inherits from IllegalStateException and provides a single constructor with no parameters.

  • It includes standard methods for exception handling, inherited from Throwable and Object.

public class NonReadableChannelException extends IllegalStateException

Unchecked exception thrown when an attempt is made to read from a channel that was not originally opened for reading.

Public Constructor Summary

NonReadableChannelException()
Constructs an instance of this class.

Inherited Method Summary

Public Constructors

public NonReadableChannelException ()

Constructs an instance of this class.