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