AlreadyConnectedException

  • AlreadyConnectedException is an unchecked exception indicating an attempt to connect an already connected SocketChannel.

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

  • This exception is thrown to signal an invalid operation on a SocketChannel that's already in a connected state.

public class AlreadyConnectedException extends IllegalStateException

Unchecked exception thrown when an attempt is made to connect a SocketChannel that is already connected.

Public Constructor Summary

AlreadyConnectedException()
Constructs an instance of this class.

Inherited Method Summary

Public Constructors

public AlreadyConnectedException ()

Constructs an instance of this class.