Package java.nio.channels
Class NonWritableChannelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
java.nio.channels.NonWritableChannelException
- All Implemented Interfaces:
Serializable
public class NonWritableChannelException extends IllegalStateException
A
NonWritableChannelException is thrown when attempting to write to a
channel that is not open for writing.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description NonWritableChannelException()Constructs aNonWritableChannelException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NonWritableChannelException
public NonWritableChannelException()Constructs aNonWritableChannelException.
-