public enum DiscoveryEngineServicesErrorCode extends Enum<DiscoveryEngineServicesErrorCode> 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 DiscoveryEngineServicesErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiscoveryEngineServicesErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiscoveryEngineServicesErrorCode NO_CONFIG_DOC
public static final DiscoveryEngineServicesErrorCode NO_OMAS_SERVER_URL
public static final DiscoveryEngineServicesErrorCode NO_OMAS_SERVER_NAME
public static final DiscoveryEngineServicesErrorCode NO_DISCOVERY_ENGINES
public static final DiscoveryEngineServicesErrorCode DISCOVERY_ENGINE_INSTANCE_FAILURE
public static final DiscoveryEngineServicesErrorCode SERVICE_INSTANCE_FAILURE
public static final DiscoveryEngineServicesErrorCode CONFIGURATION_LISTENER_INSTANCE_FAILURE
public static final DiscoveryEngineServicesErrorCode UNKNOWN_DISCOVERY_ENGINE_CONFIG_AT_STARTUP
public static final DiscoveryEngineServicesErrorCode NO_DISCOVERY_ENGINES_STARTED
public static final DiscoveryEngineServicesErrorCode NO_DISCOVERY_ENGINE_CLIENT
public static final DiscoveryEngineServicesErrorCode UNKNOWN_DISCOVERY_ENGINE_CONFIG
public static final DiscoveryEngineServicesErrorCode UNKNOWN_DISCOVERY_ENGINE
public static final DiscoveryEngineServicesErrorCode UNKNOWN_DISCOVERY_REQUEST_TYPE
public static final DiscoveryEngineServicesErrorCode INVALID_DISCOVERY_SERVICE
public static final DiscoveryEngineServicesErrorCode NULL_DISCOVERY_SERVICE
public static final DiscoveryEngineServicesErrorCode DISCOVERY_ENGINE_NOT_INITIALIZED
public static DiscoveryEngineServicesErrorCode[] values()
for (DiscoveryEngineServicesErrorCode c : DiscoveryEngineServicesErrorCode.values()) System.out.println(c);
public static DiscoveryEngineServicesErrorCode 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–2020 ODPi. All rights reserved.