public enum SubjectAreaErrorCode extends Enum<SubjectAreaErrorCode>
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 |
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 SubjectAreaErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubjectAreaErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubjectAreaErrorCode SERVER_URL_NOT_SPECIFIED
public static final SubjectAreaErrorCode NULL_USER_ID
public static final SubjectAreaErrorCode NULL_GUID
public static final SubjectAreaErrorCode NULL_NAME
public static final SubjectAreaErrorCode GUID_DOES_NOT_EXIST
public static final SubjectAreaErrorCode USER_NOT_AUTHORIZED
public static final SubjectAreaErrorCode METADATA_SERVER_UNCONTACTABLE_ERROR
public static final SubjectAreaErrorCode CREATE_WITHOUT_GLOSSARY
public static final SubjectAreaErrorCode GLOSSARY_TERM_CREATE_WITHOUT_NAME
public static final SubjectAreaErrorCode GLOSSARY_CATEGORY_CREATE_WITHOUT_NAME
public static final SubjectAreaErrorCode GLOSSARY_TERM_CREATE_WITH_CATEGORIES
public static final SubjectAreaErrorCode GLOSSARY_TERM_CREATE_WITH_ASSETS
public static final SubjectAreaErrorCode GLOSSARY_TERM_UPDATE_WITH_CATEGORIES
public static final SubjectAreaErrorCode GLOSSARY_TERM_UPDATE_WITH_ASSETS
public static final SubjectAreaErrorCode GLOSSARY_PROJECT_CREATE_WITHOUT_NAME
public static final SubjectAreaErrorCode INVALID_PROJECT_DELETION
public static final SubjectAreaErrorCode CREATE_WITH_GLOSSARY_RELATIONSHIP
public static final SubjectAreaErrorCode CREATE_WITH_NON_EXISTANT_GLOSSARY_GUID
public static final SubjectAreaErrorCode GLOSSARY_TERM_CREATE_WITH_PROJECTS
public static final SubjectAreaErrorCode GLOSSARY_CATEGORY_CREATE_WITH_NON_EXISTANT_GLOSSARY
public static final SubjectAreaErrorCode GLOSSARY_TERM_CREATE_FAILED_ADDING_CLASSIFICATIONS
public static final SubjectAreaErrorCode GLOSSARY_CREATE_FAILED_ADDING_CLASSIFICATIONS
public static final SubjectAreaErrorCode GLOSSARY_CONTENT_PREVENTED_DELETE
public static final SubjectAreaErrorCode GLOSSARY_CATEGORY_CREATE_FAILED_ADDING_CLASSIFICATIONS
public static final SubjectAreaErrorCode GLOSSARY_CATEGORY_CREATE_FAILED_KNITTING_TO_GLOSSARY
public static final SubjectAreaErrorCode GLOSSARY_CATEGORY_CREATE_FAILED_CATEGORY_NAME_ALREADY_USED
public static final SubjectAreaErrorCode CATEGORY_UPDATE_FAILED_CATEGORY_NAME_ALREADY_USED
public static final SubjectAreaErrorCode CATEGORY_UPDATE_FAILED_ON_DELETED_CATEGORY
public static final SubjectAreaErrorCode GLOSSARY_UPDATE_FAILED_ON_DELETED_GLOSSARY
public static final SubjectAreaErrorCode TERM_UPDATE_FAILED_ON_DELETED_TERM
public static final SubjectAreaErrorCode TYPEDEF_NOT_KNOWN
public static final SubjectAreaErrorCode TYPEDEF_ERROR
public static final SubjectAreaErrorCode ENTITY_NOT_KNOWN_ERROR
public static final SubjectAreaErrorCode RELATIONSHIP_NOT_KNOWN_ERROR
public static final SubjectAreaErrorCode INVALID_PARAMETER
public static final SubjectAreaErrorCode CLASSIFICATION_ERROR
public static final SubjectAreaErrorCode STATUS_NOT_SUPPORTED_ERROR
public static final SubjectAreaErrorCode FUNCTION_NOT_SUPPORTED
public static final SubjectAreaErrorCode PAGING_ERROR
public static final SubjectAreaErrorCode WRONG_TYPENAME
public static final SubjectAreaErrorCode GLOSSARY_NAME_DOES_NOT_EXIST
public static final SubjectAreaErrorCode GOVERNANCE_CLASSIFICATION_SUPPLIED_IN_CLASSIFICATIONS
public static final SubjectAreaErrorCode CLIENT_RECEIVED_AN_UNEXPECTED_RESPONSE_ERROR
public static final SubjectAreaErrorCode CLIENT_INPUT_PARAMETER_COULD_NOT_BE_PROCESSED
public static final SubjectAreaErrorCode INVALID_STATUS_VALUE_SUPPLIED
public static final SubjectAreaErrorCode STATUS_UPDATE_TO_DELETED_NOT_ALLOWED
public static final SubjectAreaErrorCode GLOSSARY_TERM_CREATE_FAILED_KNITTING_TO_GLOSSARY
public static final SubjectAreaErrorCode GUID_NOT_PURGED_ERROR
public static final SubjectAreaErrorCode GLOSSARY_CREATE_WITHOUT_NAME
public static final SubjectAreaErrorCode GLOSSARY_CATEGORY_CREATE_WITH_NON_EXISTANT_GLOSSARY_NAME
public static final SubjectAreaErrorCode GLOSSARY_CATEGORY_CREATE_WITH_NON_EXISTANT_GLOSSARY_GUID
public static final SubjectAreaErrorCode CREATE_WITH_CATEGORY_RELATIONSHIP
public static final SubjectAreaErrorCode CREATE_WITH_NON_EXISTANT_CATEGORY_GUID
public static final SubjectAreaErrorCode UNABLE_TO_PARSE_SUPPLIED_JSON
public static final SubjectAreaErrorCode GLOSSARY_CATEGORY_CREATE_WITH_NON_EXISTANT_PARENT
public static final SubjectAreaErrorCode GLOSSARY_CATEGORY_CREATE_WITH_PROJECTS
public static final SubjectAreaErrorCode INVALID_NODETYPE
public static final SubjectAreaErrorCode UNEXPECTED_NODETYPE
public static final SubjectAreaErrorCode INVALID_RELATIOMSHIP_GUID_WRONG_TYPE
public static final SubjectAreaErrorCode GUID_NOT_DELETED_ERROR
public static final SubjectAreaErrorCode PAST_EFFECTIVE_TO_DATE
public static final SubjectAreaErrorCode PAST_EFFECTIVE_FROM_DATE
public static final SubjectAreaErrorCode INCORRECT_EFFECTIVE_DATE_RANGE
public static final SubjectAreaErrorCode ERROR_ENCODING_QUERY_PARAMETER
public static final SubjectAreaErrorCode MAPPER_ENTITY_GUID_TYPE_ERROR
public static final SubjectAreaErrorCode MAPPER_RELATIONSHIP_GUID_TYPE_ERROR
public static final SubjectAreaErrorCode LINE_UPDATE_ATTEMPTED_WITH_NO_PROPERTIES
public static final SubjectAreaErrorCode PROJECT_CREATE_WITHOUT_NAME
public static final SubjectAreaErrorCode SERVER_NAME_NOT_SPECIFIED
public static final SubjectAreaErrorCode UNEXPECTED_EXCEPTION
public static final SubjectAreaErrorCode OMRS_NOT_INITIALIZED
public static final SubjectAreaErrorCode OMRS_NOT_AVAILABLE
public static final SubjectAreaErrorCode NO_METADATA_COLLECTION
public static final SubjectAreaErrorCode NULL_CONNECTION_RETURNED
public static final SubjectAreaErrorCode NULL_CONNECTOR_RETURNED
public static final SubjectAreaErrorCode NULL_RESPONSE_FROM_API
public static final SubjectAreaErrorCode CLIENT_SIDE_REST_API_ERROR
public static final SubjectAreaErrorCode CLIENT_SIDE_API_REST_RESPONSE_ERROR
public static final SubjectAreaErrorCode SERVICE_NOT_INITIALIZED
public static SubjectAreaErrorCode[] values()
for (SubjectAreaErrorCode c : SubjectAreaErrorCode.values()) System.out.println(c);
public static SubjectAreaErrorCode 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<SubjectAreaErrorCode>Copyright © 2018–2020 ODPi. All rights reserved.