Enum UserInterfaceErrorCodes
- java.lang.Object
-
- java.lang.Enum<UserInterfaceErrorCodes>
-
- org.odpi.openmetadata.userinterface.uichassis.springboot.api.UserInterfaceErrorCodes
-
- All Implemented Interfaces:
Serializable,Comparable<UserInterfaceErrorCodes>
public enum UserInterfaceErrorCodes extends Enum<UserInterfaceErrorCodes>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorMessage()StringgetErrorMessageId()org.springframework.http.HttpStatusgetHttpErrorCode()StringgetSystemAction()StringgetUserAction()static UserInterfaceErrorCodesvalueOf(String name)Returns the enum constant of this type with the specified name.static UserInterfaceErrorCodes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MALFORMED_INPUT_EXCEPTION
public static final UserInterfaceErrorCodes MALFORMED_INPUT_EXCEPTION
-
INVALID_REQUEST_FOR_ASSET_CATALOG
public static final UserInterfaceErrorCodes INVALID_REQUEST_FOR_ASSET_CATALOG
-
RESOURCE_NOT_FOUND
public static final UserInterfaceErrorCodes RESOURCE_NOT_FOUND
-
USER_NOT_AUTHORIZED
public static final UserInterfaceErrorCodes USER_NOT_AUTHORIZED
-
INVALID_REQUEST_FOR_OPEN_LINEAGE
public static final UserInterfaceErrorCodes INVALID_REQUEST_FOR_OPEN_LINEAGE
-
INVALID_REQUEST_FOR_GLOSSARY_VIEW
public static final UserInterfaceErrorCodes INVALID_REQUEST_FOR_GLOSSARY_VIEW
-
ENTITY_NOT_FOUND
public static final UserInterfaceErrorCodes ENTITY_NOT_FOUND
-
LINEAGE_NOT_FOUND
public static final UserInterfaceErrorCodes LINEAGE_NOT_FOUND
-
GLOSSARY_NOT_FOUND
public static final UserInterfaceErrorCodes GLOSSARY_NOT_FOUND
-
TERM_NOT_FOUND
public static final UserInterfaceErrorCodes TERM_NOT_FOUND
-
CATEGORY_NOT_FOUND
public static final UserInterfaceErrorCodes CATEGORY_NOT_FOUND
-
REX_SUBGRAPH_NOT_FOUND
public static final UserInterfaceErrorCodes REX_SUBGRAPH_NOT_FOUND
-
INVALID_SEARCH_REQUEST
public static final UserInterfaceErrorCodes INVALID_SEARCH_REQUEST
-
USERNAME_NOT_AUTHORIZED_TO_PERFORM_THE_REQUEST
public static final UserInterfaceErrorCodes USERNAME_NOT_AUTHORIZED_TO_PERFORM_THE_REQUEST
-
REX_INVALID_PARAMETER_REQUEST
public static final UserInterfaceErrorCodes REX_INVALID_PARAMETER_REQUEST
-
BAD_TYPE_INFORMATION
public static final UserInterfaceErrorCodes BAD_TYPE_INFORMATION
-
BAD_PROPERTY_INFORMATION
public static final UserInterfaceErrorCodes BAD_PROPERTY_INFORMATION
-
OPERATION_NOT_SUPPORTED
public static final UserInterfaceErrorCodes OPERATION_NOT_SUPPORTED
-
-
Method Detail
-
values
public static UserInterfaceErrorCodes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UserInterfaceErrorCodes c : UserInterfaceErrorCodes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserInterfaceErrorCodes valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getHttpErrorCode
public org.springframework.http.HttpStatus getHttpErrorCode()
-
getErrorMessageId
public String getErrorMessageId()
-
getErrorMessage
public String getErrorMessage()
-
getSystemAction
public String getSystemAction()
-
getUserAction
public String getUserAction()
-
-