|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.EnumConstantNotPresentException
public class EnumConstantNotPresentException
Indicates that an enum constant does not exist for a
particular name.
| Constructor Summary | |
|---|---|
EnumConstantNotPresentException(Class<? extends Enum> enumType,
String constantName)
Constructs an instance for the passed enum and constant name. |
|
| Method Summary | |
|---|---|
String |
constantName()
The name of the constant missing. |
Class<? extends Enum> |
enumType()
The enum type from which the constant name is missing. |
| 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)
Constructs an instance for the passed enum and constant name.
enumType - The enum type.constantName - The missing constant name.| Method Detail |
|---|
public Class<? extends Enum> enumType()
The enum type from which the constant name is missing.
Class instance.public String constantName()
The name of the constant missing.
String instance.
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||