Added in API level 1

NonWritableChannelException

public class NonWritableChannelException
extends IllegalStateException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalStateException
           ↳ java.nio.channels.NonWritableChannelException


Unchecked exception thrown when an attempt is made to write to a channel that was not originally opened for writing.

Summary

Public constructors

NonWritableChannelException()

Constructs an instance of this class.

Inherited methods

Public constructors

NonWritableChannelException

Added in API level 1
public NonWritableChannelException ()

Constructs an instance of this class.