public class EnumConstantNotPresentException extends RuntimeException
AnnotatedElement,
Serialized Form| Constructor and Description |
|---|
EnumConstantNotPresentException(Class<? extends Enum> enumType,
String constantName)
Constructs an EnumConstantNotPresentException for the
specified constant.
|
| Modifier and Type | Method and Description |
|---|---|
String |
constantName()
Returns the name of the missing enum constant.
|
Class<? extends Enum> |
enumType()
Returns the type of the missing enum constant.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic EnumConstantNotPresentException(Class<? extends Enum> enumType, String constantName)
enumType - the type of the missing enum constantconstantName - the name of the missing enum constantaicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.