|
Préférences
Moteurs de recherche
|
||||||||||||||
JavaTM 2 Platform Std. Ed. v1.5.0
java.lang
|
Constructor Summary | |
---|---|
EnumConstantNotPresentException(Class<? extends Enum> enumType,
String constantName)
Constructs an EnumConstantNotPresentException for the specified constant. |
Method Summary | |
---|---|
String |
constantName()
Returns the name of the missing enum constant. |
Class<? extends Enum> |
enumType()
Returns the type of the missing enum constant. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EnumConstantNotPresentException(Class<? extends Enum> enumType, String constantName)
enumType
- the type of the missing enum constantconstantName
- the name of the missing enum constantMethod Detail |
---|
public Class<? extends Enum> enumType()
public String constantName()