public enum CmqErrorCode extends Enum<CmqErrorCode>
Enum Constant and Description |
---|
FAILEDOPERATION |
FAILEDOPERATION_TRYLATER |
INVALIDPARAMETER |
INVALIDPARAMETERVALUE_NOTASKID |
LIMITEXCEEDED |
RESOURCEINUSE |
RESOURCENOTFOUND |
RESOURCESSOLDOUT |
RESOURCEUNAVAILABLE |
UNAUTHORIZEDOPERATION |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static CmqErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CmqErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmqErrorCode FAILEDOPERATION
public static final CmqErrorCode FAILEDOPERATION_TRYLATER
public static final CmqErrorCode INVALIDPARAMETER
public static final CmqErrorCode INVALIDPARAMETERVALUE_NOTASKID
public static final CmqErrorCode LIMITEXCEEDED
public static final CmqErrorCode RESOURCEINUSE
public static final CmqErrorCode RESOURCENOTFOUND
public static final CmqErrorCode RESOURCEUNAVAILABLE
public static final CmqErrorCode RESOURCESSOLDOUT
public static final CmqErrorCode UNAUTHORIZEDOPERATION
public static CmqErrorCode[] values()
for (CmqErrorCode c : CmqErrorCode.values()) System.out.println(c);
public static CmqErrorCode 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 © 2022. All rights reserved.