JavaTM Platform
Standard Ed. 6

java.lang
클래스 InstantiationException

java.lang.Object 
  상위를 확장 java.lang.Throwable 
      상위를 확장 java.lang.Exception 
          상위를 확장 java.lang.InstantiationException
모든 구현된 인터페이스:
Serializable


public class InstantiationException
extends Exception

어플리케이션이 Class 클래스의 newInstance 메소드를 사용해 클래스의 인스턴스를 생성하려고 했을 때에, 지정된 객체의 인스턴스를 생성할 수 없는 경우에 throw 됩니다. 인스턴스화는, 이하의 이유를 포함한 다양한 이유에 의해 실패하는 일이 있습니다. 다만, 이러한 이유로 한정되지 않습니다.

도입된 버젼:
JDK1. 0
관련 항목:
Class.newInstance() , 직렬화 된 형식

생성자 의 개요
InstantiationException ()
          상세 메세지를 가지지 않는 InstantiationException 를 구축합니다.
InstantiationException (String  s)
          지정된 상세 메세지를 가지는 InstantiationException 를 구축합니다.
 
메소드의 개요
 
클래스 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
 

생성자 의 상세

InstantiationException

public InstantiationException()
상세 메세지를 가지지 않는 InstantiationException 를 구축합니다.


InstantiationException

public InstantiationException(String  s)
지정된 상세 메세지를 가지는 InstantiationException 를 구축합니다.

파라미터:
s - 상세 메세지

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.