com.highdeal.pnr.hci
Class RerateBulkException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.highdeal.hci.OperationFailureException
              extended by com.highdeal.pnr.hci.RerateBulkException
All Implemented Interfaces:
OperationResult, XMLMarshallable, java.io.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:
Serialized Form

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 Summary
static int ACTIVATION_PROCESS_RUNNING
          7: Indicates that the Activation process is running.
static int BART_UNAVAILABLE
          Indicates that the SAP CC BART Server system is not available.
static int BULK_LOADERS_SYNC_FAILURE
          6: Indicates that the synchronization with the bulkloader instances failed.
static int DOES_NOT_EXIST
          0: Indicates that the used code does not exist.
static int ERROR_FILTER
          Indicates that the specified filter is incorrect.
static int INCOMPATIBLE_FILTER
          Indicates that the specified filter is not supported by the rerate operation.
static int INVALID
          Indicates that the rerate operation is invalid (from date is missing).
static int RERATE_PROCESS_ALREADY_RUNNING
          Indicates that a rerating is running.
 
Constructor Summary
RerateBulkException()
          Constructs an empty exception.
RerateBulkException(int reason, java.lang.String message)
          Constructs an exception with a message; It contains a human readable text.
 
Method Summary
 void addCharacterData(java.lang.String cData)
          Adds character data to the content element.
 void addChild(java.lang.String tagName, XMLMarshallable child)
          Adds a child to the object, the child representing the marshallable object which must be added to the element.
 java.lang.String getMessage()
           
 java.lang.String getName()
          Returns the name of the result, that is "rerateBulkFault".
 int getReason()
           
 java.lang.String getReasonCode()
           
 void marshal(XMLOutputter output)
          Gives an XML representation of this object, including its children.
 void setAttributes(XMLAttributes atts)
          Sets the attributes of the XML representation of the element being processed.
 
Methods inherited from class com.highdeal.hci.OperationFailureException
getOperandReference
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DOES_NOT_EXIST

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

See Also:
Constant Field Values

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:
Constant Field Values

INCOMPATIBLE_FILTER

public static final int INCOMPATIBLE_FILTER
Indicates that the specified filter is not supported by the rerate operation.

See Also:
Constant Field Values

ERROR_FILTER

public static final int ERROR_FILTER
Indicates that the specified filter is incorrect.

See Also:
Constant Field Values

RERATE_PROCESS_ALREADY_RUNNING

public static final int RERATE_PROCESS_ALREADY_RUNNING
Indicates that a rerating is running.

See Also:
Constant Field Values

BART_UNAVAILABLE

public static final int BART_UNAVAILABLE
Indicates that the SAP CC BART Server system is not available.

See Also:
Constant Field Values

BULK_LOADERS_SYNC_FAILURE

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

See Also:
Constant Field Values

ACTIVATION_PROCESS_RUNNING

public static final int ACTIVATION_PROCESS_RUNNING
7: Indicates that the Activation process is running.

See Also:
Constant Field Values
Constructor Detail

RerateBulkException

public RerateBulkException()
Constructs an empty exception.


RerateBulkException

public RerateBulkException(int reason,
                           java.lang.String message)
Constructs an exception with a message; It contains a human readable text.

Parameters:
reason - The reason
message - The message
Method Detail

getName

public java.lang.String getName()
Returns the name of the result, that is "rerateBulkFault".

Returns:
"rerateBulkFault"

getReason

public int getReason()

getReasonCode

public java.lang.String getReasonCode()

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.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(java.lang.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(java.lang.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

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)