Java in a Nutshell

Previous Chapter 25
The java.lang Package
Next
 

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()


Previous Home Next
java.lang.ClassNotFoundException (JDK 1.0) Book Index java.lang.Cloneable (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java