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