|
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.SessionOperationException
public final class SessionOperationException
Exception thrown when a session-based charging operation failed by charging session control;
Your customized charging client should
handle these types of exceptions internally. You implement the automated treatments in your client application.
Your charging client must handle this type of exception internally.
The SAP CC system controls the reservationID set in the operation requests.
| Nested Class Summary | |
|---|---|
static class |
SessionOperationException.SessionOperationErrorCategory
This enumeration provides the possible error reasons and categories that must be managed
when handling a session operation exceptions: SessionOperationException.SessionOperationErrorCategory.SESSION_ALREADY_EXISTS or
SessionOperationException.SessionOperationErrorCategory.SESSION_DOES_NOT_EXIST. |
| Constructor Summary | |
|---|---|
SessionOperationException()
Builds an empty exception. |
|
SessionOperationException(SessionOperationException.SessionOperationErrorCategory category)
Builds an exception by specifying an error category. |
|
| 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. |
SessionOperationException.SessionOperationErrorCategory |
getErrorCategory()
Gets the error error category of this exception. |
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. |
void |
setErrorCategory(SessionOperationException.SessionOperationErrorCategory category)
Sets the error category of this exception. |
| 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 SessionOperationException()
public SessionOperationException(SessionOperationException.SessionOperationErrorCategory category)
error category.
category - The category of this exception| Method Detail |
|---|
public SessionOperationException.SessionOperationErrorCategory getErrorCategory()
error category of this exception.
public void setErrorCategory(SessionOperationException.SessionOperationErrorCategory category)
error category of this exception.
category - The error category of this exceptionpublic 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 intopublic void setAttributes(XMLAttributes atts)
XMLMarshallable
atts - The XML attributes of the current element
|
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 | ||||||||