ReadPendingException

  • ReadPendingException is an unchecked exception indicating an attempt to read from an asynchronous socket channel while a previous read is still in progress.

  • It's a subclass of IllegalStateException and provides a single constructor with no arguments.

  • This exception typically arises in non-blocking I/O operations where a read operation is initiated before a previous one completes.

  • The class inherits methods from Throwable for exception handling and stack trace information.

public class ReadPendingException extends IllegalStateException

Unchecked exception thrown when an attempt is made to read from an asynchronous socket channel and a previous read has not completed.

Public Constructor Summary

ReadPendingException()
Constructs an instance of this class.

Inherited Method Summary

Public Constructors

public ReadPendingException ()

Constructs an instance of this class.