public enum TopicAddFailReason extends Enum<TopicAddFailReason>
Enum Constant and Description |
---|
EXISTS
Topic already existed with exactly the same details.
|
EXISTS_MISMATCH
Topic already exists with the same name but different details.
|
INITIALISE_ERROR
Initialisation of topic with supplied content failed, possibly because it
was of the wrong format.
|
INVALID_DETAILS
Some aspect of the details failed validation.
|
INVALID_NAME
The name of the topic was found to be invalid.
|
PERMISSIONS_FAILURE
The client was denied permission to add a topic of the specified type at
the given point in the topic hierarchy.
|
TOPIC_NOT_FOUND
A referenced Topic was not found or was not of the correct type.
|
UNEXPECTED_ERROR
An unexpected error occurred whilst attempting to create the topic.
|
USER_CODE_ERROR
A user supplied class could either not be found or could not be
instantiated at the server.
|
Modifier and Type | Method and Description |
---|---|
static TopicAddFailReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopicAddFailReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopicAddFailReason EXISTS
public static final TopicAddFailReason EXISTS_MISMATCH
public static final TopicAddFailReason INVALID_NAME
public static final TopicAddFailReason INVALID_DETAILS
public static final TopicAddFailReason USER_CODE_ERROR
public static final TopicAddFailReason TOPIC_NOT_FOUND
public static final TopicAddFailReason PERMISSIONS_FAILURE
public static final TopicAddFailReason INITIALISE_ERROR
public static final TopicAddFailReason UNEXPECTED_ERROR
public static TopicAddFailReason[] values()
for (TopicAddFailReason c : TopicAddFailReason.values()) System.out.println(c);
public static TopicAddFailReason 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 © 2016 Push Technology Ltd. All Rights Reserved.