public static enum AccountTerminatedException.Reason extends Enum<AccountTerminatedException.Reason>
Modifier and Type | Method and Description |
---|---|
static AccountTerminatedException.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccountTerminatedException.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountTerminatedException.Reason UNKNOWN
public static final AccountTerminatedException.Reason VIOLATION
public static AccountTerminatedException.Reason[] values()
for (AccountTerminatedException.Reason c : AccountTerminatedException.Reason.values()) System.out.println(c);
public static AccountTerminatedException.Reason valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null