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