Class RerateBulkException

All Implemented Interfaces:
OperationResult, XMLMarshallable, Serializable

public class RerateBulkException extends OperationFailureException
Exception thrown when a rerating operation fails in the SAP CC system.

A rerating operation request may fail for several reasons:

Note

Refer to the Field Detail section for more information about a particular code and to determine the appropriate error handling in your client application.

See Also:

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:element name="rerateBulkFault">
   <xs:complexType>
     <xs:attribute name="reason" type="RerateBulkFaultReasonType"/>
     <xs:attribute name="message" type="xs:string"/>
   </xs:complexType>
 </xs:element>
 <xs:simpleType name="RerateBulkFaultReasonType">
   <xs:restriction base="xs:string">
      <xs:enumeration value="doesNotExist"/>
      <xs:enumeration value="invalid"/>
      <xs:enumeration value="incompatibleFilter"/>
      <xs:enumeration value="errorFilter"/>
      <xs:enumeration value="rerateProcessAlreadyRunning"/>
      <xs:enumeration value="bartUnavailable"/>
      <xs:enumeration value="bulkLoadersSyncFailure"/>
      <xs:enumeration value="activationProcessRunnning"/>
   </xs:restriction>
 </xs:simpleType>

  • Field Details

    • DOES_NOT_EXIST

      public static final int DOES_NOT_EXIST
      0: Indicates that the used code does not exist.
      See Also:
    • INVALID

      public static final int INVALID
      Indicates that the rerate operation is invalid (from date is missing). e.g. when required attribute is missing in the operation.
      See Also:
    • INCOMPATIBLE_FILTER

      public static final int INCOMPATIBLE_FILTER
      Indicates that the specified filter is not supported by the rerate operation.
      See Also:
    • ERROR_FILTER

      public static final int ERROR_FILTER
      Indicates that the specified filter is incorrect.
      See Also:
    • RERATE_PROCESS_ALREADY_RUNNING

      public static final int RERATE_PROCESS_ALREADY_RUNNING
      Indicates that a rerating is running.
      See Also:
    • BART_UNAVAILABLE

      public static final int BART_UNAVAILABLE
      Indicates that the SAP CC BART Server system is not available.
      See Also:
    • BULK_LOADERS_SYNC_FAILURE

      public static final int BULK_LOADERS_SYNC_FAILURE
      6: Indicates that the synchronization with the bulkloader instances failed.
      See Also:
    • ACTIVATION_PROCESS_RUNNING

      public static final int ACTIVATION_PROCESS_RUNNING
      7: Indicates that the Activation process is running.
      See Also:
  • Constructor Details

    • RerateBulkException

      public RerateBulkException()
      Constructs an empty exception.
    • RerateBulkException

      public RerateBulkException(int reason, String message)
      Constructs an exception with a message; It contains a human readable text.
      Parameters:
      reason - The reason
      message - The message
  • Method Details

    • getName

      public String getName()
      Returns the name of the result, that is "rerateBulkFault".
      Returns:
      "rerateBulkFault"
    • getReason

      public int getReason()
    • getReasonCode

      public String getReasonCode()
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • setAttributes

      public void setAttributes(XMLAttributes atts)
      Description copied from interface: XMLMarshallable
      Sets the attributes of the XML representation of the element being processed.
      Parameters:
      atts - The XML attributes of the current element
    • addCharacterData

      public void addCharacterData(String cData)
      Description copied from interface: XMLMarshallable
      Adds character data to the content element.
      Parameters:
      cData - The character data to be added
    • addChild

      public void addChild(String tagName, XMLMarshallable child)
      Description copied from interface: XMLMarshallable
      Adds a child to the object, the child representing the marshallable object which must be added to the element.
      Parameters:
      tagName - The name of tag for the child
      child - The child to be added
    • marshal

      public void marshal(XMLOutputter output)
      Description copied from interface: XMLMarshallable
      Gives an XML representation of this object, including its children.
      Parameters:
      output - The XML output to marshal the object into