Team LiB
Previous Section Next Section

CloneNotSupportedExceptionjava.lang

Java 1.0serializable checked

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

Figure 10-15. java.lang.CloneNotSupportedException


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

Thrown By

Enum.clone( ), Object.clone( ), java.security.MessageDigest.clone( ), java.security.MessageDigestSpi.clone( ), java.security.Signature.clone( ), java.security.SignatureSpi.clone( ), java.util.AbstractMap.clone( ), java.util.EnumMap.clone( ), java.util.EnumSet.clone( ), javax.crypto.Mac.clone( ), javax.crypto.MacSpi.clone( )

    Team LiB
    Previous Section Next Section