ERROR - NotYetConnectedException - Possible Causes of NotYetConnectedException

Exception Thrown By:Cause
ClassMethod
AsynchronousSocketChannel public abstract AsynchronousSocketChannel shutdownInput()If this channel is not yet connected
AsynchronousSocketChannel public abstract AsynchronousSocketChannel shutdownOutput()If this channel is not yet connected
DatagramChannel public abstract int read(ByteBuffer dst)If this channel's socket is not connected
DatagramChannel public final long read(ByteBuffer[] dsts)If this channel's socket is not connected
DatagramChannel public abstract int write(ByteBuffer src)If this channel's socket is not connected
DatagramChannel public final long write(ByteBuffer[] srcs)If this channel's socket is not connected
SocketChannel public abstract SocketChannel shutdownInput()If this channel is not yet connected
SocketChannel public abstract SocketChannel shutdownOutput()If this channel is not yet connected
SocketChannel public abstract int read(ByteBuffer dst)If this channel is not yet connected
SocketChannel public final long read(ByteBuffer[] dsts)If this channel is not yet connected
SocketChannel public abstract int write(ByteBuffer src)If this channel is not yet connected
SocketChannel public final long write(ByteBuffer[] srcs)If this channel is not yet connected