public static enum PermissionDeniedException.Failure extends Enum<PermissionDeniedException.Failure>
Enum Constant and Description |
---|
INCORRECT_TOKEN |
INCORRECT_USER |
Modifier and Type | Method and Description |
---|---|
static PermissionDeniedException.Failure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionDeniedException.Failure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionDeniedException.Failure INCORRECT_TOKEN
public static final PermissionDeniedException.Failure INCORRECT_USER
public static PermissionDeniedException.Failure[] values()
for (PermissionDeniedException.Failure c : PermissionDeniedException.Failure.values()) System.out.println(c);
public static PermissionDeniedException.Failure 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 nullCopyright © 2021. All rights reserved.