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