March 2005
Beginner to intermediate
1254 pages
104h 21m
English
CloneNotSupportedException
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); }
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( )
Read now
Unlock full access