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
A
NoConnectionPendingException is thrown if SocketChannel's
finishConnect method is called before
the SocketChannel's SocketChannel.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
-
Constructor Details
-
NoConnectionPendingException
public NoConnectionPendingException()Constructs aNoConnectionPendingException.
-