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