Package java.nio.channels
Class NoConnectionPendingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- java.nio.channels.NoConnectionPendingException
-
- All Implemented Interfaces:
Serializable
public class NoConnectionPendingException extends IllegalStateException
ANoConnectionPendingExceptionis thrown ifSocketChannel'sfinishConnectmethod is called before theSocketChannel'sSocketChannel.connect(java.net.SocketAddress)connect} method completed without error.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoConnectionPendingException()Constructs aNoConnectionPendingException.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-