public enum CwsErrorCode extends Enum<CwsErrorCode>
Enum Constant and Description |
---|
INTERNALERROR |
INVALIDPARAMETER_DUPLICATE |
INVALIDPARAMETER_MALFORMED |
INVALIDPARAMETER_NOTFOUND |
LIMITEXCEEDED_MONITORQUOTA |
LIMITEXCEEDED_SCANQUOTA |
UNAUTHORIZEDOPERATION |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static CwsErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CwsErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CwsErrorCode INTERNALERROR
public static final CwsErrorCode INVALIDPARAMETER_DUPLICATE
public static final CwsErrorCode INVALIDPARAMETER_MALFORMED
public static final CwsErrorCode INVALIDPARAMETER_NOTFOUND
public static final CwsErrorCode LIMITEXCEEDED_MONITORQUOTA
public static final CwsErrorCode LIMITEXCEEDED_SCANQUOTA
public static final CwsErrorCode UNAUTHORIZEDOPERATION
public static CwsErrorCode[] values()
for (CwsErrorCode c : CwsErrorCode.values()) System.out.println(c);
public static CwsErrorCode 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.