|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.highdeal.hci.OperationFailureException
com.highdeal.pnr.hci.RerateBulkException
public class RerateBulkException
Exception thrown when a rerating operation fails in the SAP CC system.
A rerating operation request may fail for several reasons:
ACTIVATION_PROCESS_RUNNINGBART_UNAVAILABLE: indicates that BART is not availableBULK_LOADERS_SYNC_FAILURE: indicates that the synchronization with the bulk loaders failedDOES_NOT_EXIST: used code does not existERROR_FILTER: indicates that this filter is not correctINVALID: rerate operation is invalidINCOMPATIBLE_FILTER: indicates that this filter is not compatible with reratingRERATE_PROCESS_ALREADY_RUNNING: indicates that the rerating already runningNote
Refer to the Field Detail section for more information about a particular code and to determine the appropriate error handling in your client application.
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 |
|---|
public static final int DOES_NOT_EXIST
public static final int INVALID
public static final int INCOMPATIBLE_FILTER
public static final int ERROR_FILTER
public static final int RERATE_PROCESS_ALREADY_RUNNING
public static final int BART_UNAVAILABLE
public static final int BULK_LOADERS_SYNC_FAILURE
public static final int ACTIVATION_PROCESS_RUNNING
| Constructor Detail |
|---|
public RerateBulkException()
public RerateBulkException(int reason,
java.lang.String message)
reason - The reasonmessage - The message| Method Detail |
|---|
public java.lang.String getName()
public int getReason()
public java.lang.String getReasonCode()
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic void setAttributes(XMLAttributes atts)
XMLMarshallable
atts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
cData - The character data to be added
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
tagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
output - The XML output to marshal the object into
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||