public enum DiscoveryEngineErrorCode extends Enum<DiscoveryEngineErrorCode>
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorMessageId()
Returns the unique identifier for the error message.
|
String |
getFormattedErrorMessage(String... params)
Returns the error message with the placeholders filled out with the supplied parameters.
|
int |
getHTTPErrorCode() |
String |
getSystemAction()
Returns a description of the action taken by the system when the condition that caused this exception was
detected.
|
String |
getUnformattedErrorMessage()
Returns the error message with placeholders for specific details.
|
String |
getUserAction()
Returns instructions of how to resolve the issue reported in this exception.
|
String |
toString()
JSON-style toString
|
static DiscoveryEngineErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiscoveryEngineErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiscoveryEngineErrorCode SERVER_URL_NOT_SPECIFIED
public static final DiscoveryEngineErrorCode SERVER_URL_MALFORMED
public static final DiscoveryEngineErrorCode NULL_USER_ID
public static final DiscoveryEngineErrorCode NULL_GUID
public static final DiscoveryEngineErrorCode NULL_NAME
public static final DiscoveryEngineErrorCode INVALID_PROPERTY
public static final DiscoveryEngineErrorCode USER_NOT_AUTHORIZED
public static final DiscoveryEngineErrorCode PROPERTY_SERVER_ERROR
public static final DiscoveryEngineErrorCode NULL_ENUM
public static final DiscoveryEngineErrorCode NULL_CONNECTION_PARAMETER
public static final DiscoveryEngineErrorCode NEGATIVE_START_FROM
public static final DiscoveryEngineErrorCode EMPTY_PAGE_SIZE
public static final DiscoveryEngineErrorCode BAD_CONFIG
public static final DiscoveryEngineErrorCode NULL_ARRAY_PARAMETER
public static final DiscoveryEngineErrorCode NULL_LOCAL_SERVER_NAME
public static final DiscoveryEngineErrorCode SERVER_NOT_AVAILABLE
public static final DiscoveryEngineErrorCode OMRS_NOT_INITIALIZED
public static final DiscoveryEngineErrorCode OMRS_NOT_AVAILABLE
public static final DiscoveryEngineErrorCode NO_METADATA_COLLECTION
public static final DiscoveryEngineErrorCode PROXY_ENTITY_FOUND
public static final DiscoveryEngineErrorCode MULTIPLE_RELATIONSHIPS_FOUND
public static final DiscoveryEngineErrorCode UNKNOWN_ENTITY
public static final DiscoveryEngineErrorCode NO_RELATIONSHIPS_FOUND
public static final DiscoveryEngineErrorCode NULL_ENTITY_RETURNED
public static final DiscoveryEngineErrorCode MULTIPLE_ENTITIES_FOUND
public static final DiscoveryEngineErrorCode NULL_CONNECTION_RETURNED
public static final DiscoveryEngineErrorCode NULL_CONNECTOR_RETURNED
public static final DiscoveryEngineErrorCode NULL_END2_RETURNED
public static final DiscoveryEngineErrorCode NULL_RESPONSE_FROM_API
public static final DiscoveryEngineErrorCode CLIENT_SIDE_REST_API_ERROR
public static final DiscoveryEngineErrorCode SERVICE_NOT_INITIALIZED
public static final DiscoveryEngineErrorCode EXCEPTION_RESPONSE_FROM_API
public static DiscoveryEngineErrorCode[] values()
for (DiscoveryEngineErrorCode c : DiscoveryEngineErrorCode.values()) System.out.println(c);
public static DiscoveryEngineErrorCode 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 int getHTTPErrorCode()
public String getErrorMessageId()
public String getUnformattedErrorMessage()
public String getFormattedErrorMessage(String... params)
params - - strings that plug into the placeholders in the errorMessagepublic String getSystemAction()
public String getUserAction()
public String toString()
toString in class Enum<DiscoveryEngineErrorCode>Copyright © 2018–2019 ODPi. All rights reserved.