Signals that a buffer is read-only and that its put( ) or compact( ) methods are not allowed to modify the buffer contents. Figure 13-11. java.nio.ReadOnlyBufferExceptionpublic class ReadOnlyBufferException extends UnsupportedOperationException { // Public Constructors public ReadOnlyBufferException ( ); } |