Name

NotYetConnectedException

Synopsis

Signals an attempt to read( ) or write( ) on a SocketChannel that is not yet connected to a remote host. See SocketChannel.connect( ).

java.nio.channels.NotYetConnectedException

Figure 13-33. java.nio.channels.NotYetConnectedException

public class NotYetConnectedException extends IllegalStateException {
// Public Constructors
     public NotYetConnectedException( );  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.