public enum GovernanceEngineErrorCode extends Enum<GovernanceEngineErrorCode>
The 5 fields in the enum are:
| 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 |
getUserAction()
Returns instructions of how to resolve the issue reported in this exception.
|
static GovernanceEngineErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GovernanceEngineErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GovernanceEngineErrorCode SERVER_URL_NOT_SPECIFIED
public static final GovernanceEngineErrorCode BAD_USER_ID
public static final GovernanceEngineErrorCode EMPTY_USER_ID
public static final GovernanceEngineErrorCode NULL_GUID
public static final GovernanceEngineErrorCode INVALID_EVENT_FORMAT
public static final GovernanceEngineErrorCode USER_NOT_AUTHORIZED
public static final GovernanceEngineErrorCode PROPERTY_SERVER_ERROR
public static final GovernanceEngineErrorCode NULL_TEXT
public static final GovernanceEngineErrorCode OMRS_NOT_INITIALIZED
public static final GovernanceEngineErrorCode OMRS_NOT_AVAILABLE
public static final GovernanceEngineErrorCode NO_METADATA_COLLECTION
public static final GovernanceEngineErrorCode CLIENT_SIDE_REST_API_ERROR
public static final GovernanceEngineErrorCode SERVICE_NOT_INITIALIZED
public static final GovernanceEngineErrorCode METADATA_QUERY_ERROR
public static final GovernanceEngineErrorCode GUID_NOT_FOUND_ERROR
public static GovernanceEngineErrorCode[] values()
for (GovernanceEngineErrorCode c : GovernanceEngineErrorCode.values()) System.out.println(c);
public static GovernanceEngineErrorCode 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 getFormattedErrorMessage(String... params)
params - - strings that plug into the placeholders in the errorMessagepublic String getSystemAction()
public String getUserAction()
Copyright © 2018–2020 ODPi. All rights reserved.