public enum RepositoryHandlerErrorCode extends Enum<RepositoryHandlerErrorCode>
| 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 RepositoryHandlerErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryHandlerErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepositoryHandlerErrorCode INVALID_PROPERTY
public static final RepositoryHandlerErrorCode USER_NOT_AUTHORIZED
public static final RepositoryHandlerErrorCode PROPERTY_SERVER_ERROR
public static final RepositoryHandlerErrorCode INVALID_PROPERTY_VALUE
public static final RepositoryHandlerErrorCode INSTANCE_WRONG_TYPE_FOR_GUID
public static final RepositoryHandlerErrorCode OMRS_NOT_INITIALIZED
public static final RepositoryHandlerErrorCode OMRS_NOT_AVAILABLE
public static final RepositoryHandlerErrorCode NO_METADATA_COLLECTION
public static final RepositoryHandlerErrorCode PROXY_ENTITY_FOUND
public static final RepositoryHandlerErrorCode MULTIPLE_RELATIONSHIPS_FOUND
public static final RepositoryHandlerErrorCode UNKNOWN_ENTITY
public static final RepositoryHandlerErrorCode NO_RELATIONSHIPS_FOUND
public static final RepositoryHandlerErrorCode NULL_ENTITY_RETURNED
public static final RepositoryHandlerErrorCode MULTIPLE_ENTITIES_FOUND
public static final RepositoryHandlerErrorCode NULL_ENTITY_RETURNED_FOR_CLASSIFICATION
public static RepositoryHandlerErrorCode[] values()
for (RepositoryHandlerErrorCode c : RepositoryHandlerErrorCode.values()) System.out.println(c);
public static RepositoryHandlerErrorCode 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<RepositoryHandlerErrorCode>Copyright © 2018–2019 ODPi. All rights reserved.