AlreadyConnectedException  |  API reference  |  Android Developers (original) (raw)

open class AlreadyConnectedException : IllegalStateException

kotlin.Any
kotlin.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException

Unchecked exception thrown when an attempt is made to connect a [SocketChannel](/reference/kotlin/java/nio/channels/SocketChannel) that is already connected.

Summary

Public constructors
AlreadyConnectedException() Constructs an instance of this class.

Public constructors

AlreadyConnectedException

AlreadyConnectedException()

Constructs an instance of this class.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.