Package com.highdeal.pnr.hci
Class SessionOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.highdeal.hci.OperationFailureException
com.highdeal.pnr.hci.SessionOperationException
- All Implemented Interfaces:
OperationResult,XMLMarshallable,Serializable
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.
Reasons
Implementation 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.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThisenumerationprovides the possible error reasons and categories that must be managed when handling asession operation exceptions:SessionOperationException.SessionOperationErrorCategory.SESSION_ALREADY_EXISTSorSessionOperationException.SessionOperationErrorCategory.SESSION_DOES_NOT_EXIST. -
Constructor Summary
ConstructorsConstructorDescriptionBuilds an empty exception.Builds an exception by specifying anerror category. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.Gets the errorerror categoryof this exception.voidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidSets theerror categoryof this exception.Methods inherited from class com.highdeal.hci.OperationFailureException
getOperandReferenceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SessionOperationException
public SessionOperationException()Builds an empty exception. -
SessionOperationException
Builds an exception by specifying anerror category.- Parameters:
category- The category of this exception
-
-
Method Details
-
getErrorCategory
Gets the errorerror categoryof this exception.- Returns:
- The error category of this exception
-
setErrorCategory
Sets theerror categoryof this exception.- Parameters:
category- The error category of this exception
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Parameters:
cData- The character data to be added
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
marshal
Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- Parameters:
output- TheXML outputto marshal the object into
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Parameters:
atts- TheXML attributesof the current element
-