|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.CloneNotSupportedException
public class CloneNotSupportedException
객체를 복제하기 위해서 Object
클래스의 clone
메소드가 불려 갔지만, 그 객체의 클래스가 Cloneable
인터페이스를 구현하고 있지 않는 것을 나타내기 위해서(때문에) throw 됩니다.
clone
메소드를 오버라이드(override) 하고 있는 어플리케이션에서도, 객체를 복제할 수가 없는지, 혹은 객체를 복제해서는 안되는 것을 나타내기 위해서(때문에), 이 예외를 throw 할 수가 있습니다.
Cloneable
,
Object.clone()
,
직렬화 된 형식 생성자 의 개요 | |
---|---|
CloneNotSupportedException ()
상세 메세지를 지정하지 않고 CloneNotSupportedException 를 구축합니다. |
|
CloneNotSupportedException (String s)
지정된 상세 메세지를 가지는 CloneNotSupportedException 를 구축합니다. |
메소드의 개요 |
---|
클래스 java.lang. Throwable 로부터 상속된 메소드 |
---|
fillInStackTrace , getCause , getLocalizedMessage , getMessage , getStackTrace , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
생성자 의 상세 |
---|
public CloneNotSupportedException()
CloneNotSupportedException
를 구축합니다.
public CloneNotSupportedException(String s)
CloneNotSupportedException
를 구축합니다.
s
- 상세 메세지
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.