public enum RepositoryHandlerErrorCode extends Enum<RepositoryHandlerErrorCode> 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.
|
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 INVALID_PARAMETER
public static final RepositoryHandlerErrorCode BAD_CLASSIFICATION_PROPERTIES
public static final RepositoryHandlerErrorCode INVALID_TYPE
public static final RepositoryHandlerErrorCode INVALID_PROPERTY_VALUE
public static final RepositoryHandlerErrorCode DUPLICATE_CREATE_REQUEST
public static final RepositoryHandlerErrorCode WRONG_EXTERNAL_SOURCE
public static final RepositoryHandlerErrorCode LOCAL_CANNOT_CHANGE_EXTERNAL
public static final RepositoryHandlerErrorCode UNRECOGNIZED_PROPERTY
public static final RepositoryHandlerErrorCode USER_NOT_AUTHORIZED
public static final RepositoryHandlerErrorCode ONLY_CREATOR_CAN_DELETE
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 final RepositoryHandlerErrorCode UNKNOWN_RELATIONSHIP
public static final RepositoryHandlerErrorCode PROPERTY_SERVER_ERROR
public static final RepositoryHandlerErrorCode UNABLE_TO_SET_ANCHORS
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 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.public String toString()
toString in class Enum<RepositoryHandlerErrorCode>Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.