JavaTM 2 Platform
Standard Ed. 5.0

java.lang
Ŭ·¡½º EnumConstantNotPresentException

java.lang.Object 
  »óÀ§¸¦ È®Àå java.lang.Throwable 
      »óÀ§¸¦ È®Àå java.lang.Exception 
          »óÀ§¸¦ È®Àå java.lang.RuntimeException 
              »óÀ§¸¦ È®Àå java.lang.EnumConstantNotPresentException
¸ðµç ±¸ÇöµÈ ÀÎÅÍÆäÀ̽º:
Serializable

public class EnumConstantNotPresentException
extends RuntimeException

¾îÇø®ÄÉÀ̼ÇÀÌ À̸§¿¡ ÀÇÇØ enum Á¤¼ö¿¡ ¾×¼¼½º ÇÏ·Á°í ÇßÀ» ¶§³ª, ÁöÁ¤µÈ À̸§ÀÇ Á¤¼ö¸¦ °¡ÁöÁö ¾Ê´Â enum Çü¿¡ ¾×¼¼½º ÇÏ·Á°í ÇßÀ» ¶§¿¡ ¿¹¿Ü¸¦ ¹ß»ý½Ãŵ´Ï´Ù.

µµÀÔµÈ ¹öÀü :
1.5
°ü·Ã Ç׸ñ:
Á÷·ÄÈ­ µÈ Çü½Ä

»ý¼ºÀÚ °³¿ä
EnumConstantNotPresentException (Class <? extends Enum > enumType, String  constantName)
          ÁöÁ¤µÈ Á¤¼öÀÇ EnumConstantNotPresentExceptionÀ» ±¸ÃàÇÕ´Ï´Ù.
 
¸Þ¼­µå °³¿ä
 String constantName ()
          ºÎÁ·ÇÑ enum Á¤¼öÀÇ À̸§À» ¸®ÅÏÇÕ´Ï´Ù.
 Class <? extends Enum > enumType ()
          ºÎÁ·ÇÑ enum Á¤¼öÀÇ ÇüŸ¦ ¸®ÅÏÇÕ´Ï´Ù.
 
Ŭ·¡½º 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
 

»ý¼ºÀÚ »ó¼¼

EnumConstantNotPresentException

public EnumConstantNotPresentException(Class <?  extends Enum > enumType,
                                       String  constantName)
ÁöÁ¤µÈ Á¤¼öÀÇ EnumConstantNotPresentExceptionÀ» ±¸ÃàÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
enumType - ºÎÁ·ÇÑ enum Á¤¼öÀÇ ÇüÅÂ
constantName - ºÎÁ·ÇÑ enum Á¤¼öÀÇ À̸§
¸Þ¼­µåÀÇ »ó¼¼

enumType

public Class <?  extends Enum > enumType()
ºÎÁ·ÇÑ enum Á¤¼öÀÇ ÇüŸ¦ ¸®ÅÏÇÕ´Ï´Ù.

¹Ýȯ°ª:
ºÎÁ·ÇÑ enum Á¤¼öÀÇ ÇüÅÂ

constantName

public String  constantName()
ºÎÁ·ÇÑ enum Á¤¼öÀÇ À̸§À» ¸®ÅÏÇÕ´Ï´Ù.

¹Ýȯ°ª:
ºÎÁ·ÇÑ enum Á¤¼öÀÇ À̸§

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.