public static enum InvalidMaintainErrorException.InvalidMaintainCategory extends java.lang.Enum<InvalidMaintainErrorException.InvalidMaintainCategory>
enumeration lists all the categories of errors that may occur during the maintenance of a master data.| Enum Constant and Description |
|---|
ILLEGAL_STATE
The request is valid but was rejected because of the master data state in the system which prevents the execution of the request.
|
INCOMPATIBLE_CONFIGURATION
The configuration of the SAP CC system is not compatible with the master data.
|
INVALID
The master data is invalid.
|
PREREQUISITE_MISSING
A prerequisite of the master data is missing, first create it.
|
TEMPORARY_ILLEGAL_STATE
This category is a subcategory of
IllegalState but the state of the master data will automatically change. |
| Modifier and Type | Method and Description |
|---|---|
static InvalidMaintainErrorException.InvalidMaintainCategory |
getCategoryFromName(java.lang.String name)
Gets the
invalid maintain category from the XML representation. |
java.lang.String |
getXmlString()
Gets the XML representation of the
invalid maintain category. |
static InvalidMaintainErrorException.InvalidMaintainCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InvalidMaintainErrorException.InvalidMaintainCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvalidMaintainErrorException.InvalidMaintainCategory INVALID
public static final InvalidMaintainErrorException.InvalidMaintainCategory PREREQUISITE_MISSING
public static final InvalidMaintainErrorException.InvalidMaintainCategory INCOMPATIBLE_CONFIGURATION
public static final InvalidMaintainErrorException.InvalidMaintainCategory ILLEGAL_STATE
public static final InvalidMaintainErrorException.InvalidMaintainCategory TEMPORARY_ILLEGAL_STATE
IllegalState but the state of the master data will automatically change.
The request can be send again after a waiting period.public static InvalidMaintainErrorException.InvalidMaintainCategory[] values()
for (InvalidMaintainErrorException.InvalidMaintainCategory c : InvalidMaintainErrorException.InvalidMaintainCategory.values()) System.out.println(c);
public static InvalidMaintainErrorException.InvalidMaintainCategory valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getXmlString()
invalid maintain category.public static final InvalidMaintainErrorException.InvalidMaintainCategory getCategoryFromName(java.lang.String name)
invalid maintain category from the XML representation.name - The name of the invalid maintain categoryname