public static enum InvalidChallengeException.ErrorCodeEnum extends Enum<InvalidChallengeException.ErrorCodeEnum>
Enum Constant and Description |
---|
BAD_FORMAT
The challenge does not have the format expected by the OTP configuration.
|
TOO_LONG
The challenge is too long with respect to the OTP configuration.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static InvalidChallengeException.ErrorCodeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InvalidChallengeException.ErrorCodeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvalidChallengeException.ErrorCodeEnum TOO_LONG
public static final InvalidChallengeException.ErrorCodeEnum BAD_FORMAT
public static InvalidChallengeException.ErrorCodeEnum[] values()
for (InvalidChallengeException.ErrorCodeEnum c : InvalidChallengeException.ErrorCodeEnum.values()) System.out.println(c);
public static InvalidChallengeException.ErrorCodeEnum 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 nullpublic int getValue()
Copyright © 2005-2020 HID Global Corporation/ASSA ABLOY AB.