|
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.StatelessPreRatingException
public class StatelessPreRatingException
| Field Summary | |
|---|---|
static int |
ILLEGAL_IMPLEMENTATION
Error indicating that internal code detects that the API is used with an implementation of Interfaces or Abstract Classes that is not the SAP Convergent Charging proprietary implementation. |
static int |
INVALID_RESOLUTION
Error indicating that an invalid resolution is used in StatelessServiceClient.statelessPostRate(long, StatelessPreRatingContext, int, boolean, ChargeableItem)
method. |
static int |
INVALID_STATELESS_PRE_RATING_CONTEXT
Error indicating that a StatelessPreRatingContext
has a invalid internal structure. |
static int |
NO_CONTEXT_FOR_CHARGE
Error indicating that no embedded StatelessRatingContext has been found in a
StatelessPreRatingContext for a given charge code. |
static int |
RESERVATION_UID_ALREADY_IN_STATELESS_PRE_RATING_CONTEXT
Error indicating that a given resolutionUID is
already used in a StatelessPreRatingContext. |
static int |
RESERVATION_UID_ALREADY_RESOLVED_IN_STATELESS_PRE_RATING_CONTEXT
Error indicating that a reservationUID used for post
rating has already been post rated. |
static int |
RESERVATION_UID_NOT_FOUND_IN_STATELESS_PRE_RATING_CONTEXT
Error indicating that a reservationUID used
for post rating is not found. |
static int |
STATELESS_PRE_RATING_CONTEXT_MISSING
Error indicating that StatelessServiceClient.statelessPreRate(StatelessRatingEvent, String, StatelessPreRatingContext, Date, long, long, boolean, boolean)
or
StatelessServiceClient.statelessPostRate(long, StatelessPreRatingContext, int, boolean, ChargeableItem)
is called with a null StatelessPreRatingContext |
static int |
UNEXPECTED_STATELESS_PRE_RATING_CONTEXT
Error indicating that a result update method
tries to update a context different from the context
used on the call that produced the result. |
static int |
UNKNOWN
Unkown type of error. |
| Constructor Summary | |
|---|---|
StatelessPreRatingException()
|
|
StatelessPreRatingException(int reason,
java.lang.String message)
Constructs an exception with an error code and a message. |
|
| 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. |
int |
getError()
Returns the reason why the pre-rating failed. |
java.lang.String |
getMessage()
Returns the detailed message explaining why the pre-rating failed. |
static int |
getReason(java.lang.String reasonString)
|
static java.lang.String |
getReasonString(int reason)
|
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 UNKNOWN
public static final int NO_CONTEXT_FOR_CHARGE
StatelessRatingContext has been found in a
StatelessPreRatingContext for a given charge code.
public static final int ILLEGAL_IMPLEMENTATION
public static final int UNEXPECTED_STATELESS_PRE_RATING_CONTEXT
update method
tries to update a context different from the context
used on the call that produced the result.
public static final int STATELESS_PRE_RATING_CONTEXT_MISSING
StatelessServiceClient.statelessPreRate(StatelessRatingEvent, String, StatelessPreRatingContext, Date, long, long, boolean, boolean)
or
StatelessServiceClient.statelessPostRate(long, StatelessPreRatingContext, int, boolean, ChargeableItem)
is called with a null StatelessPreRatingContext
public static final int INVALID_RESOLUTION
StatelessServiceClient.statelessPostRate(long, StatelessPreRatingContext, int, boolean, ChargeableItem)
method.
public static final int RESERVATION_UID_ALREADY_IN_STATELESS_PRE_RATING_CONTEXT
resolutionUID is
already used in a StatelessPreRatingContext.
public static final int RESERVATION_UID_NOT_FOUND_IN_STATELESS_PRE_RATING_CONTEXT
reservationUID used
for post rating is not found.
public static final int RESERVATION_UID_ALREADY_RESOLVED_IN_STATELESS_PRE_RATING_CONTEXT
reservationUID used for post
rating has already been post rated.
public static final int INVALID_STATELESS_PRE_RATING_CONTEXT
StatelessPreRatingContext
has a invalid internal structure.
| Constructor Detail |
|---|
public StatelessPreRatingException()
public StatelessPreRatingException(int reason,
java.lang.String message)
reason - the reason.message - the message.| Method Detail |
|---|
public int getError()
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic 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 intopublic static final java.lang.String getReasonString(int reason)
public static final int getReason(java.lang.String reasonString)
|
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 | ||||||||