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