public enum AssetAnalysisErrorCode extends Enum<AssetAnalysisErrorCode> implements ExceptionMessageSet
| Modifier and Type | Method and Description |
|---|---|
ExceptionMessageDefinition |
getMessageDefinition()
Retrieve a message definition object for an exception.
|
ExceptionMessageDefinition |
getMessageDefinition(String... params)
Retrieve a message definition object for an exception.
|
static AssetAnalysisErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssetAnalysisErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssetAnalysisErrorCode DISCOVERY_ENGINE_INSTANCE_FAILURE
public static final AssetAnalysisErrorCode SERVICE_INSTANCE_FAILURE
public static final AssetAnalysisErrorCode CONFIGURATION_LISTENER_INSTANCE_FAILURE
public static final AssetAnalysisErrorCode UNKNOWN_DISCOVERY_ENGINE_CONFIG_AT_STARTUP
public static final AssetAnalysisErrorCode NO_DISCOVERY_ENGINES_STARTED
public static final AssetAnalysisErrorCode NO_DISCOVERY_ENGINE_CLIENT
public static final AssetAnalysisErrorCode UNKNOWN_DISCOVERY_ENGINE_CONFIG
public static final AssetAnalysisErrorCode UNKNOWN_DISCOVERY_ENGINE
public static final AssetAnalysisErrorCode UNKNOWN_DISCOVERY_REQUEST_TYPE
public static final AssetAnalysisErrorCode INVALID_DISCOVERY_SERVICE
public static final AssetAnalysisErrorCode NULL_DISCOVERY_SERVICE
public static final AssetAnalysisErrorCode DISCOVERY_ENGINE_NOT_INITIALIZED
public static AssetAnalysisErrorCode[] values()
for (AssetAnalysisErrorCode c : AssetAnalysisErrorCode.values()) System.out.println(c);
public static AssetAnalysisErrorCode 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 ExceptionMessageDefinition getMessageDefinition()
getMessageDefinition in interface ExceptionMessageSetpublic ExceptionMessageDefinition getMessageDefinition(String... params)
getMessageDefinition in interface ExceptionMessageSetparams - array of parameters (all strings). They are inserted into the message according to the numbering in the message text.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.