Name

NonReadableChannelException

Synopsis

Signals a call to the read( ) method of a readable channel that is not open for reading, such as a FileChannel created from a FileOutputStream.

java.nio.channels.NonReadableChannelException

Figure 13-30. java.nio.channels.NonReadableChannelException

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

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.