Name
NotYetBoundException
Synopsis
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( ); }
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.