Added in API level 1

ReadOnlyBufferException

public class ReadOnlyBufferException
extends UnsupportedOperationException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.UnsupportedOperationException
           ↳ java.nio.ReadOnlyBufferException


Unchecked exception thrown when a content-mutation method such as put or compact is invoked upon a read-only buffer.

Summary

Public constructors

ReadOnlyBufferException()

Constructs an instance of this class.

Inherited methods

Public constructors

ReadOnlyBufferException

Added in API level 1
public ReadOnlyBufferException ()

Constructs an instance of this class.