Class StartRateException

All Implemented Interfaces:
OperationResult, XMLMarshallable, Serializable

public class StartRateException extends OperationFailureException
Exception for the StartRateOp operation fails during session-based charging.

Such service operation request may fail for several reasons:

Note

Refer to the Field Detail section for more information about a particular code and to determine the appropriate error handling in your client application.

See Also:

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:element name="startRateFault">
   <xs:complexType>
     <xs:attribute name="reason" type="StartRateFaultType"/>
     <xs:attribute name="message" type="xs:string"/>
   </xs:complexType>
 </xs:element>
<xs:simpleType name="StartRateFaultType">
   <xs:restriction base="xs:string">
     <xs:enumeration value="invalidSessionID"/>
     <xs:enumeration value="invalidTTL"/>
     <xs:enumeration value="invalidDefaultResolution"/>
     <xs:enumeration value="invalidResultType"/>
     <xs:enumeration value="duplicateSession"/>
     <xs:enumeration value="notEnoughSpace"/>
    </xs:restriction>
 </xs:simpleType>

  • Field Details

    • INVALID_SESSION_ID

      public static final int INVALID_SESSION_ID
      0: The session is not valid or is missing for example.
      See Also:
    • INVALID_TTL

      public static final int INVALID_TTL
      1: The value of the time to live is not set or a negative one.
      See Also:
    • INVALID_DEFAULT_RESOLUTION

      public static final int INVALID_DEFAULT_RESOLUTION
      The resolution is not valid.
      See Also:
    • INVALID_RESULT_TYPE

      public static final int INVALID_RESULT_TYPE
      The result type is not a valid one.
      See Also:
    • DUPLICATE_SESSION

      public static final int DUPLICATE_SESSION
      The session ID is already used.
      See Also:
    • NOT_ENOUGH_SPACE

      public static final int NOT_ENOUGH_SPACE
      5: There is not enough space on to store a session.
      See Also:
  • Constructor Details

    • StartRateException

      public StartRateException()
      Constructs an empty start exception.
    • StartRateException

      public StartRateException(int reason, String message)
      Constructs an start exception with a reason and a message.
      Parameters:
      reason - The reason code
      message - The detailed message
  • Method Details