java.nio
Class ReadOnlyBufferException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.UnsupportedOperationException
                  extended byjava.nio.ReadOnlyBufferException
All Implemented Interfaces:
Serializable

public class ReadOnlyBufferException
extends UnsupportedOperationException

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

Since:
1.4
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ReadOnlyBufferException()
          Constructs an instance of this class.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReadOnlyBufferException

public ReadOnlyBufferException()
Constructs an instance of this class.