NonWritableChannelException
A NonWritableChannelException is thrown when attempting to write to a channel that is not open for writing.
A NonWritableChannelException is thrown when attempting to write to a channel that is not open for writing.