public enum SubscriptionErrorType extends java.lang.Enum<SubscriptionErrorType>
Enumeration which represents the errors that can occur for a subject.
The SubscriptionErrorType
will be provided on a onSubscriptionError
callback to a SubscriptionListener
.
Enum Constant and Description |
---|
DELETED
The subject has been deleted.
|
INVALID_PARAMETERS
Supplied parameters are invalid for this subject type.
|
NOT_FOUND
The subject could not be found.
|
READ_DENIED
The client does not have permission to read the subject.
|
UNAVAILABLE
The subject was not available.
|
WRITE_DENIED
The client does not have permission to write to the subject.
|
WRITE_DENIED_DUE_TO_LICENSE
The client cannot contribute due to the Liberator's licensing limits being exceeded.
|
Modifier and Type | Method and Description |
---|---|
static SubscriptionErrorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionErrorType NOT_FOUND
The subject could not be found.
public static final SubscriptionErrorType UNAVAILABLE
The subject was not available.
public static final SubscriptionErrorType DELETED
The subject has been deleted.
public static final SubscriptionErrorType READ_DENIED
The client does not have permission to read the subject.
public static final SubscriptionErrorType WRITE_DENIED
The client does not have permission to write to the subject.
public static final SubscriptionErrorType WRITE_DENIED_DUE_TO_LICENSE
The client cannot contribute due to the Liberator's licensing limits being exceeded.
public static final SubscriptionErrorType INVALID_PARAMETERS
Supplied parameters are invalid for this subject type.
public static SubscriptionErrorType[] values()
for (SubscriptionErrorType c : SubscriptionErrorType.values()) System.out.println(c);
public static SubscriptionErrorType 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