|
SAP CC 3.0 BART API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectOperationFailureException
com.highdeal.bart.hci.RatingErrorException
public class RatingErrorException
This class implements the method for the description of a rating error exception.
| XML Schema Fragment |
<xs:element name="ratingFault">
<xs:complexType>
<xs:attribute name="code" type="xs:string"/>
<xs:attribute name="message" type="xs:string"/>
</xs:complexType>
</xs:element> |
| Field Summary | |
|---|---|
static int |
NO_ERROR
Reserved for internal use. |
| Constructor Summary | |
|---|---|
RatingErrorException(int code,
java.lang.String name,
java.lang.String message)
Builds an empty RatingErrorException. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
|
int |
getCode()
Gets the error code |
java.lang.String |
getMessage()
Gets the message. |
java.lang.String |
getOperandReference()
Return a reference for this exception. |
int |
getPosition()
Gets the position of the CDR in error, when use the batch charge operation. |
boolean |
isRedoable()
Returns true if this rating error is redoable, which means a CDR resubmission may not raise an error again. |
void |
marshal(XMLOutputter output)
|
void |
setAttributes(XMLAttributes atts)
|
void |
setOperandReference(java.lang.String reference)
|
void |
setPosition(int position)
Sets the position of the CDR in error, when use the batch charge operation. |
void |
setRedoable(boolean b)
Sets this exception as redoable or not |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NO_ERROR
| Constructor Detail |
|---|
public RatingErrorException(int code,
java.lang.String name,
java.lang.String message)
| Method Detail |
|---|
public int getCode()
public void setPosition(int position)
position - the position of the CDR in errorpublic int getPosition()
public java.lang.String getOperandReference()
isRedoable the reference is likely to point to the
rating object on server side that as raised this exception.
public void setOperandReference(java.lang.String reference)
public boolean isRedoable()
public void setRedoable(boolean b)
public java.lang.String getMessage()
public void setAttributes(XMLAttributes atts)
public void addChild(java.lang.String tagName,
XMLMarshallable child)
public void addCharacterData(java.lang.String cData)
public void marshal(XMLOutputter output)
|
SAP CC 3.0 BART API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||