Team LiB
Previous Section Next Section

NotYetBoundExceptionjava.nio.channels

Java 1.4serializable unchecked

Signals a call to ServerSocketChannel.accept( ) before the underlying server socket has been bound to a local port. Call socket( ).bind( ) to bind the java.net.ServerSocket that underlies the ServerSocketChannel.

Figure 13-32. java.nio.channels.NotYetBoundException


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

    Team LiB
    Previous Section Next Section