Name

NonWritableChannelException

Synopsis

Signal a call to a write( ) method of a writable channel that is not open for writing, such as a FileChannel created from a FileInputStream.

java.nio.channels.NonWritableChannelException

Figure 13-31. java.nio.channels.NonWritableChannelException

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

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.