Class SessionOperationException

All Implemented Interfaces:
OperationResult, XMLMarshallable, Serializable

public final class SessionOperationException extends OperationFailureException
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:
  • Constructor Details

  • Method Details

    • getErrorCategory

      Gets the error error category of this exception.
      Returns:
      The error category of this exception
    • setErrorCategory

      public void setErrorCategory(SessionOperationException.SessionOperationErrorCategory category)
      Sets the error category of this exception.
      Parameters:
      category - The error category of this exception
    • addCharacterData

      public void addCharacterData(String cData)
      Description copied from interface: XMLMarshallable
      Adds character data to the content element.
      Parameters:
      cData - The character data to be added
    • addChild

      public void addChild(String tagName, XMLMarshallable child)
      Description copied from interface: XMLMarshallable
      Adds a child to the object, the child representing the marshallable object which must be added to the element.
      Parameters:
      tagName - The name of tag for the child
      child - The child to be added
    • marshal

      public void marshal(XMLOutputter output)
      Description copied from interface: XMLMarshallable
      Gives an XML representation of this object, including its children.
      Parameters:
      output - The XML output to marshal the object into
    • setAttributes

      public void setAttributes(XMLAttributes atts)
      Description copied from interface: XMLMarshallable
      Sets the attributes of the XML representation of the element being processed.
      Parameters:
      atts - The XML attributes of the current element