Name
ReadOnlyBufferException
Synopsis
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.ReadOnlyBufferException
public class ReadOnlyBufferException extends UnsupportedOperationException { // Public Constructors public ReadOnlyBufferException( ); }
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.