Class InvalidCreationErrorException

All Implemented Interfaces:
IErrorException, IXMLMarshallable, OperationResult, XMLMarshallable, Serializable

public class InvalidCreationErrorException extends OperationFailureErrorException
Generic exception thrown when there was an error in the SAP CC system when attempting to create something that is not valid; The error type specifies the reason.

Implementation in Your Client Application

The connected SAP CC system manages several error categories that determine the error handling that must be implemented in your client application.

Error Handling

See Also:

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:element name="invalidCreationError">
   <xs:complexType>
     <xs:sequence>
       <xs:element ref="cause" minOccurs="1" maxOccurs="1"/>
       <xs:element ref="causedBy" minOccurs="0" maxOccurs="unbounded"/>
     </xs:sequence>
     <xs:attribute name="category" type="InvalidCreationCategoryType" use="required"/>
   </xs:complexType>
 </xs:element>

 <xs:simpleType name="InvalidCreationCategoryType">
   <xs:restriction base="xs:string">
     <xs:enumeration value="alreadyExists"/>
     <xs:enumeration value="invalid"/>
     <xs:enumeration value="prerequisiteMissing"/>
     <xs:enumeration value="incompatibleConfiguration"/>
     <xs:enumeration value="illegalState"/>
     <xs:enumeration value="temporaryIllegalState"/>
   </xs:restriction>
 </xs:simpleType>