CloneNotSupportedException


CloneNotSupportedException java.lang

Java 1.0 serializable 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( )



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net