public enum TrocketErrorCode extends Enum<TrocketErrorCode>
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static TrocketErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrocketErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrocketErrorCode FAILEDOPERATION
public static final TrocketErrorCode FAILEDOPERATION_INSTANCENOTREADY
public static final TrocketErrorCode LIMITEXCEEDED_TOPICNUM
public static final TrocketErrorCode OPERATIONDENIED
public static final TrocketErrorCode RESOURCEINUSE
public static final TrocketErrorCode RESOURCENOTFOUND_CLIENT
public static final TrocketErrorCode RESOURCENOTFOUND_GROUP
public static final TrocketErrorCode RESOURCENOTFOUND_INSTANCE
public static final TrocketErrorCode RESOURCENOTFOUND_MESSAGE
public static final TrocketErrorCode RESOURCENOTFOUND_ROLE
public static final TrocketErrorCode RESOURCENOTFOUND_TOPIC
public static final TrocketErrorCode RESOURCEUNAVAILABLE
public static final TrocketErrorCode UNSUPPORTEDOPERATION_INSTANCETOPICNUMDOWNGRADE
public static final TrocketErrorCode UNSUPPORTEDOPERATION_RESOURCEALREADYEXISTS
public static TrocketErrorCode[] values()
for (TrocketErrorCode c : TrocketErrorCode.values()) System.out.println(c);
public static TrocketErrorCode 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 String getValue()
Copyright © 2024. All rights reserved.