public enum ErrorReason extends java.lang.Enum<ErrorReason>
Enumeration that defines the reasons for an error being raised in a SubscriptionErrorEvent
or a CommandErrorEvent
.
Enum Constant and Description |
---|
LICENSE
Licence failure
|
NONE
No Reason
|
USER_CODE_1
Liberator auth module user reason 1
|
USER_CODE_2
Liberator auth module user reason 2
|
USER_CODE_3
Liberator auth module user reason 3
|
USER_CODE_4
Liberator auth module user reason 4
|
USER_CODE_5
Liberator auth module user reason 5
|
Modifier and Type | Method and Description |
---|---|
static ErrorReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorReason USER_CODE_1
Liberator auth module user reason 1
public static final ErrorReason USER_CODE_2
Liberator auth module user reason 2
public static final ErrorReason USER_CODE_3
Liberator auth module user reason 3
public static final ErrorReason USER_CODE_4
Liberator auth module user reason 4
public static final ErrorReason USER_CODE_5
Liberator auth module user reason 5
public static final ErrorReason LICENSE
Licence failure
public static final ErrorReason NONE
No Reason
public static ErrorReason[] values()
for (ErrorReason c : ErrorReason.values()) System.out.println(c);
public static ErrorReason valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullPlease send bug reports and comments to Caplin support