## Uses of Class
java.lang.UnsupportedOperationException

- Packages that use UnsupportedOperationException
  Package | Description
  --- | ---
  java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
  java.nio | Defines buffers, which are containers for data, and provides an overview of the other NIO packages.
  java.nio.file | Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.
  javax.imageio | The main package of the Java Image I/O API.
  javax.management.loading | Provides the classes which implement advanced dynamic loading.
  javax.xml.soap | Provides the API for creating and building SOAP messages.

- - ### Uses of UnsupportedOperationException in java.awt

    Subclasses of UnsupportedOperationException in java.awt
    Modifier and Type | Class and Description
    --- | ---
    `class` | `HeadlessException` Thrown when code that is dependent on a keyboard, display, or mouse is called in an environment that does not support a keyboard, display, or mouse.

    Methods in java.awt that throw UnsupportedOperationException
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | Toolkit.`getLockingKeyState(int keyCode)` Returns whether the given locking key on the keyboard is currently in its "on" state.
    `void` | Toolkit.`setLockingKeyState(int keyCode, boolean on)` Sets the state of the given locking key on the keyboard.

  - ### Uses of UnsupportedOperationException in java.nio

    Subclasses of UnsupportedOperationException in java.nio
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ReadOnlyBufferException` Unchecked exception thrown when a content-mutation method such as `put` or `compact` is invoked upon a read-only buffer.

  - ### Uses of UnsupportedOperationException in java.nio.file

    Subclasses of UnsupportedOperationException in java.nio.file
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ReadOnlyFileSystemException` Unchecked exception thrown when an attempt is made to update an object associated with a `read-only` `FileSystem`.

  - ### Uses of UnsupportedOperationException in javax.imageio

    Methods in javax.imageio that throw UnsupportedOperationException
    Modifier and Type | Method and Description
    --- | ---
    `void` | ImageReadParam.`setSourceRenderSize(Dimension size)` If the image is able to be rendered at an arbitrary size, sets the source width and height to the supplied values.

  - ### Uses of UnsupportedOperationException in javax.management.loading

    Methods in javax.management.loading that throw UnsupportedOperationException
    Modifier and Type | Method and Description
    --- | ---
    `void` | MLet.`readExternal(ObjectInput in)` Restore this MLet's contents from the given `ObjectInput`.
    `void` | MLet.`writeExternal(ObjectOutput out)` Save this MLet's contents to the given `ObjectOutput`.

  - ### Uses of UnsupportedOperationException in javax.xml.soap

    Methods in javax.xml.soap that throw UnsupportedOperationException
    Modifier and Type | Method and Description
    --- | ---
    `static SOAPConnectionFactory` | SOAPConnectionFactory.`newInstance()` Creates an instance of the default `SOAPConnectionFactory` object.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.