Name

IllegalBlockingModeException

Synopsis

Signals an attempt to use a channel in the wrong blocking mode. An exception of this type is thrown by SelectableChannel.register( ) if the channel is not in nonblocking mode.

java.nio.channels.IllegalBlockingModeException

Figure 13-26. java.nio.channels.IllegalBlockingModeException

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

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.