public static enum InvalidCreationErrorException.InvalidCreationCategory extends java.lang.Enum<InvalidCreationErrorException.InvalidCreationCategory>
enumeration lists all the categories of errors that may occur during the creation of a master data in the connected SAP CC system: already exists, invalid,
incompatible configuration, illegal state, or temporary illegal state.| Enum Constant and Description |
|---|
ALREADY_EXISTS
"alreadyExists": The master data has to be created but another master data already exists in the system with the same type and the same ID but is different.
|
ILLEGAL_STATE
"illegalState": The operation request is valid but was rejected because of the master data state in the SAP CC system which prevents the execution of the request;
The request will not succeed without a required manual change of the SAP CC system.
|
INCOMPATIBLE_CONFIGURATION
"incompatibleConfiguration": The configuration of the SAP CC system is not compatible with the master data you want to create.
|
INVALID
"invalid": The master data is invalid.
|
PREREQUISITE_MISSING
"prerequisiteMissing": A prerequisite of the master data is missing, first create it.
|
TEMPORARY_ILLEGAL_STATE
"temporaryIllegalState": This category is a subcategory of
the
ILLEGAL_STATE category but the state of the master data will automatically change;
The same operation request can be sent again after a waiting period. |
| Modifier and Type | Method and Description |
|---|---|
static InvalidCreationErrorException.InvalidCreationCategory |
getCategoryFromName(java.lang.String name)
Gets the
invalid creation category from the XML representation. |
java.lang.String |
getXmlString()
Gets the XML representation of the
invalid creation category. |
static InvalidCreationErrorException.InvalidCreationCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InvalidCreationErrorException.InvalidCreationCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvalidCreationErrorException.InvalidCreationCategory ALREADY_EXISTS
public static final InvalidCreationErrorException.InvalidCreationCategory INVALID
public static final InvalidCreationErrorException.InvalidCreationCategory PREREQUISITE_MISSING
public static final InvalidCreationErrorException.InvalidCreationCategory INCOMPATIBLE_CONFIGURATION
public static final InvalidCreationErrorException.InvalidCreationCategory ILLEGAL_STATE
public static final InvalidCreationErrorException.InvalidCreationCategory TEMPORARY_ILLEGAL_STATE
ILLEGAL_STATE category but the state of the master data will automatically change;
The same operation request can be sent again after a waiting period.public static InvalidCreationErrorException.InvalidCreationCategory[] values()
for (InvalidCreationErrorException.InvalidCreationCategory c : InvalidCreationErrorException.InvalidCreationCategory.values()) System.out.println(c);
public static InvalidCreationErrorException.InvalidCreationCategory 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 creation category.public static final InvalidCreationErrorException.InvalidCreationCategory getCategoryFromName(java.lang.String name)
invalid creation category from the XML representation.name - The name of the invalid creation categoryname