Team LiB
Previous Section Next Section

IllegalBlockingModeExceptionjava.nio.channels

Java 1.4serializable unchecked

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.

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


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

    Team LiB
    Previous Section Next Section