ConnectionPendingException

  • ConnectionPendingException is an unchecked exception indicating a non-blocking connection operation is already in progress on a SocketChannel.

  • It's thrown when attempting to connect a SocketChannel while a previous non-blocking connection attempt is still pending.

  • The exception inherits methods from IllegalStateException and Throwable for handling and debugging.

  • A public constructor ConnectionPendingException() is available to create instances of this exception.

public class ConnectionPendingException extends IllegalStateException

Unchecked exception thrown when an attempt is made to connect a SocketChannel for which a non-blocking connection operation is already in progress.

Public Constructor Summary

ConnectionPendingException()
Constructs an instance of this class.

Inherited Method Summary

Public Constructors

public ConnectionPendingException ()

Constructs an instance of this class.