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

open class NoConnectionPendingException : IllegalStateException

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

Unchecked exception thrown when the [finishConnect](/reference/kotlin/java/nio/channels/SocketChannel#finishConnect%28%29) method of a [SocketChannel](/reference/kotlin/java/nio/channels/SocketChannel) is invoked without first successfully invoking its [connect](/reference/kotlin/java/nio/channels/SocketChannel#connect%28java.net.SocketAddress%29) method.

Summary

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

Public constructors

NoConnectionPendingException

NoConnectionPendingException()

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.