## Uses of Class
java.lang.CloneNotSupportedException

- Packages that use CloneNotSupportedException
  Package | Description
  --- | ---
  java.awt.datatransfer | Provides interfaces and classes for transferring data between and within applications.
  java.lang | Provides classes that are fundamental to the design of the Java programming language.
  java.rmi.server | Provides classes and interfaces for supporting the server side of RMI.
  java.security | Provides the classes and interfaces for the security framework.
  java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
  javax.crypto | Provides the classes and interfaces for cryptographic operations.
  javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
  javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components.
  javax.swing.tree | Provides classes and interfaces for dealing with `javax.swing.JTree`.

- - ### Uses of CloneNotSupportedException in java.awt.datatransfer

    Methods in java.awt.datatransfer that throw CloneNotSupportedException
    Modifier and Type | Method and Description
    --- | ---
    `Object` | DataFlavor.`clone()` Returns a clone of this `DataFlavor`.

  - ### Uses of CloneNotSupportedException in java.lang

    Methods in java.lang that throw CloneNotSupportedException
    Modifier and Type | Method and Description
    --- | ---
    `protected Object` | Object.`clone()` Creates and returns a copy of this object.
    `protected Object` | Enum.`clone()` Throws CloneNotSupportedException.
    `protected Object` | Thread.`clone()` Throws CloneNotSupportedException as a Thread can not be meaningfully cloned.

  - ### Uses of CloneNotSupportedException in java.rmi.server

    Subclasses of CloneNotSupportedException in java.rmi.server
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ServerCloneException` A `ServerCloneException` is thrown if a remote exception occurs during the cloning of a `UnicastRemoteObject`.

    Methods in java.rmi.server that throw CloneNotSupportedException
    Modifier and Type | Method and Description
    --- | ---
    `Object` | UnicastRemoteObject.`clone()` Returns a clone of the remote object that is distinct from the original.

  - ### Uses of CloneNotSupportedException in java.security

    Methods in java.security that throw CloneNotSupportedException
    Modifier and Type | Method and Description
    --- | ---
    `Object` | SignatureSpi.`clone()` Returns a clone if the implementation is cloneable.
    `Object` | MessageDigestSpi.`clone()` Returns a clone if the implementation is cloneable.
    `Object` | MessageDigest.`clone()` Returns a clone if the implementation is cloneable.
    `Object` | Signature.`clone()` Returns a clone if the implementation is cloneable.

  - ### Uses of CloneNotSupportedException in java.util

    Methods in java.util that throw CloneNotSupportedException
    Modifier and Type | Method and Description
    --- | ---
    `protected Object` | AbstractMap.`clone()` Returns a shallow copy of this `AbstractMap` instance: the keys and values themselves are not cloned.

  - ### Uses of CloneNotSupportedException in javax.crypto

    Methods in javax.crypto that throw CloneNotSupportedException
    Modifier and Type | Method and Description
    --- | ---
    `Object` | Mac.`clone()` Returns a clone if the provider implementation is cloneable.
    `Object` | MacSpi.`clone()` Returns a clone if the implementation is cloneable.

  - ### Uses of CloneNotSupportedException in javax.swing

    Methods in javax.swing that throw CloneNotSupportedException
    Modifier and Type | Method and Description
    --- | ---
    `protected Object` | JFormattedTextField.AbstractFormatter.`clone()` Clones the `AbstractFormatter`.
    `protected Object` | AbstractAction.`clone()` Clones the abstract action.
    `Object` | DefaultListSelectionModel.`clone()` Returns a clone of this selection model with the same selection.

  - ### Uses of CloneNotSupportedException in javax.swing.text

    Methods in javax.swing.text that throw CloneNotSupportedException
    Modifier and Type | Method and Description
    --- | ---
    `Object` | DefaultFormatter.`clone()` Creates a copy of the DefaultFormatter.
    `Object` | InternationalFormatter.`clone()` Creates a copy of the DefaultFormatter.

  - ### Uses of CloneNotSupportedException in javax.swing.tree

    Methods in javax.swing.tree that throw CloneNotSupportedException
    Modifier and Type | Method and Description
    --- | ---
    `Object` | DefaultTreeSelectionModel.`clone()` Returns a clone of this object with the same selection.

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, 2015, Oracle and/or its affiliates. All rights reserved.