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
Enum Constants Enum Constant Description ENTITY_NOT_FOUNDINVALID_REQUEST_FOR_ASSET_CATALOGINVALID_REQUEST_FOR_GLOSSARY_VIEWINVALID_REQUEST_FOR_OPEN_LINEAGEMALFORMED_INPUT_EXCEPTIONRESOURCE_NOT_FOUNDUSER_NOT_AUTHORIZED
-
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
-
-
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()
-
-