|
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.cnd.message.RerateSubscriptionException
public class RerateSubscriptionException
Exception thrown when an error occurs during the execution of a subscription rerating operation in the connected SAP CC system; this exception includes a nested exception that explains the cause.
Note
Consult the SAP CC Library (Application Help) for more information about the rerating process in an offline charging scenario.
The rerating operation of a subscription in customer master data
may fail for several possible reasons.
The nested exception can be:
Note
Consult the specifications of these exceptions in this Java API Reference documentation.
They are detailed in the HCI infrastructure (in the com.highdeal.pnr.hci package) but they are relevant
in the Message TCP technical interface.
Depending on your business requirements design and develop the handling functions in your client application.
For each exception reason, you determine the expected treatments in your
charging client.
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="rerateSubscriptionFault">
<xs:complexType>
<xs:sequence>
<xs:choice>
<xs:element ref="serverFault" minOccurs="1" maxOccurs="1"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="reratingStatus" type="xs:ReratingStatus" />
<xs:attribute name="suggestedDate" type="xs:DateTime" />
<xs:attribute name="snapshotId" type="xs:integer" />
<xs:attribute name="adaptedFromDate" type="xs:DateTime" />
<xs:attribute name="previousLockCode" type="xs:String" />
</xs:complexType>
</xs:element>
| Constructor Summary | |
|---|---|
RerateSubscriptionException(OperationFailureException e)
Constructs an exception with a nested exception that represents the cause. |
|
RerateSubscriptionException(ReratingStatus reratingStatus,
java.util.Date suggestedDate,
java.util.Date adaptedFromDate,
int snapshotId,
java.lang.String previousLockCode)
Constructs an exception with the error details of the failed subscription rerating. |
|
| 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.util.Date |
getAdaptedFromDate()
|
OperationFailureException |
getException()
|
java.lang.String |
getPreviousLockCode()
|
ReratingStatus |
getReratingStatus()
|
int |
getSnapshotId()
|
java.util.Date |
getSuggestedDate()
|
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, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RerateSubscriptionException(ReratingStatus reratingStatus,
java.util.Date suggestedDate,
java.util.Date adaptedFromDate,
int snapshotId,
java.lang.String previousLockCode)
reratingStatus - The status of the subscriptionsuggestedDate - The date suggested by the external billing systemadaptedFromDate - The restoration date adapted by the counter restorationsnapshotId - The snapshot ID retrieved by the counter restorationpreviousLockCode - The previous lock codepublic RerateSubscriptionException(OperationFailureException e)
e - The nested exception to add| Method Detail |
|---|
public ReratingStatus getReratingStatus()
public java.util.Date getSuggestedDate()
public java.util.Date getAdaptedFromDate()
public int getSnapshotId()
public java.lang.String getPreviousLockCode()
public OperationFailureException getException()
public void setAttributes(XMLAttributes atts)
XMLMarshallable
atts - The XML attributes of the current element
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 addCharacterData(java.lang.String cData)
XMLMarshallable
cData - The character data 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 | ||||||||