Uses of Class java.lang.CloneNotSupportedException (Java Platform SE 8 )
Date: 2026-04-17

## 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.lang.ref | Provides reference-object classes, which support a limited degree of interaction with the garbage collector.
  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` | Enum.`clone()` Throws CloneNotSupportedException.
    `protected Object` | Thread.`clone()` Throws CloneNotSupportedException as a Thread can not be meaningfully cloned.
    `protected Object` | Object.`clone()` Creates and returns a copy of this object.

  - ### Uses of CloneNotSupportedException in java.lang.ref

    Methods in java.lang.ref that throw CloneNotSupportedException
    Modifier and Type | Method and Description
    --- | ---
    `protected Object` | Reference.`clone()` Throws `CloneNotSupportedException`.

  - ### 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` | 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.
    `Object` | SignatureSpi.`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` | MacSpi.`clone()` Returns a clone if the implementation is cloneable.
    `Object` | Mac.`clone()` Returns a clone if the provider implementation is cloneable.

  - ### Uses of CloneNotSupportedException in javax.swing

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

  - ### 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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.