public static enum InvalidModificationErrorException.InvalidModificationCategory extends java.lang.Enum<InvalidModificationErrorException.InvalidModificationCategory>
enumeration lists all the categories of errors that may occur during the modification of a master data.| Enum Constant and Description |
|---|
DOES_NOT_EXIST
The master data has to be modified but it does not exists yet in the SAP CC system.
|
ILLEGAL_STATE
The request is valid but was rejected because of the master data state in the SAP CC 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 date is invalid.
|
PREREQUISITE_MISSING
A prerequisite of the master data is missing, first create it.
|
TEMPORARY_ILLEGAL_STATE
This category is a sub category of
IllegalState but the state of the master data will automatically change. |
| Modifier and Type | Method and Description |
|---|---|
static InvalidModificationErrorException.InvalidModificationCategory |
getCategoryFromName(java.lang.String name)
Gets the
invalid modification category from the XML representation. |
java.lang.String |
getXmlString()
Gets the XML representation of the
invalid modification category. |
static InvalidModificationErrorException.InvalidModificationCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InvalidModificationErrorException.InvalidModificationCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvalidModificationErrorException.InvalidModificationCategory DOES_NOT_EXIST
public static final InvalidModificationErrorException.InvalidModificationCategory INVALID
public static final InvalidModificationErrorException.InvalidModificationCategory PREREQUISITE_MISSING
public static final InvalidModificationErrorException.InvalidModificationCategory INCOMPATIBLE_CONFIGURATION
public static final InvalidModificationErrorException.InvalidModificationCategory ILLEGAL_STATE
public static final InvalidModificationErrorException.InvalidModificationCategory 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 InvalidModificationErrorException.InvalidModificationCategory[] values()
for (InvalidModificationErrorException.InvalidModificationCategory c : InvalidModificationErrorException.InvalidModificationCategory.values()) System.out.println(c);
public static InvalidModificationErrorException.InvalidModificationCategory 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 modification category.public static final InvalidModificationErrorException.InvalidModificationCategory getCategoryFromName(java.lang.String name)
invalid modification category from the XML representation.name - The name of the invalid modification categoryname