[Chapter 25] 25.14 java.lang.CloneNotSupportedException (JDK 1.0)
Author: David Flanagan
Date: Thu Jul 31 16:26:42 1997

#

| Chapter 25 The java.lang Package |

## 25.14 java.lang.CloneNotSupportedException (JDK 1.0)

###

Signals that the `clone()` method has been called for an object of a class that does not implement the `Cloneable` interface.

    public class CloneNotSupportedException extends Exception {
        // Public Constructors
                public CloneNotSupportedException();
                public CloneNotSupportedException(String s);
    }

### Hierarchy:

Object->Throwable(Serializable)->Exception->CloneNotSupportedException

### Thrown By:

Object.clone()

java.lang.ClassNotFoundException (JDK 1.0) |  | java.lang.Cloneable (JDK 1.0)