public static enum InvalidDeletionErrorException.InvalidDeletionCategory extends java.lang.Enum<InvalidDeletionErrorException.InvalidDeletionCategory>
enumeration lists all the categories of errors that may occur during the deletion of a master data.| Enum Constant and Description |
|---|
DOES_NOT_EXIST
The master data has to be deleted but it does not exist yet in the connected SAP CC system.
|
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.
|
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 sub category of
IllegalState but the state of the master data will automatically change. |
| Modifier and Type | Method and Description |
|---|---|
static InvalidDeletionErrorException.InvalidDeletionCategory |
getCategoryFromName(java.lang.String name)
Gets the
invalid deletion category from the XML representation. |
java.lang.String |
getXmlString()
Gets the XML representation of the
invalid deletion category. |
static InvalidDeletionErrorException.InvalidDeletionCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InvalidDeletionErrorException.InvalidDeletionCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvalidDeletionErrorException.InvalidDeletionCategory DOES_NOT_EXIST
public static final InvalidDeletionErrorException.InvalidDeletionCategory INVALID
public static final InvalidDeletionErrorException.InvalidDeletionCategory PREREQUISITE_MISSING
public static final InvalidDeletionErrorException.InvalidDeletionCategory ILLEGAL_STATE
public static final InvalidDeletionErrorException.InvalidDeletionCategory 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 InvalidDeletionErrorException.InvalidDeletionCategory[] values()
for (InvalidDeletionErrorException.InvalidDeletionCategory c : InvalidDeletionErrorException.InvalidDeletionCategory.values()) System.out.println(c);
public static InvalidDeletionErrorException.InvalidDeletionCategory 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 deletion category.public static final InvalidDeletionErrorException.InvalidDeletionCategory getCategoryFromName(java.lang.String name)
invalid deletion category from the XML representation.name - The name of the invalid deletion categoryname