Enum Class PolicyResponse.ReasonCode

java.lang.Object
java.lang.Enum<PolicyResponse.ReasonCode>
oracle.communication.brm.charging.messages.policy.PolicyResponse.ReasonCode
All Implemented Interfaces:
Serializable, Comparable<PolicyResponse.ReasonCode>, Constable
Enclosing interface:
PolicyResponse

public static enum PolicyResponse.ReasonCode extends Enum<PolicyResponse.ReasonCode>
Reasons of the response status.
  • Enum Constant Details

    • SYSTEM_ERR

      public static final PolicyResponse.ReasonCode SYSTEM_ERR
      Indicates that the request processing failed due to a undefined error in the system
    • INVALID_REQUEST_TYPE

      public static final PolicyResponse.ReasonCode INVALID_REQUEST_TYPE
      Indicates that the request processing failed due to a invalid request type
    • For example, when a INITIATE request received indicating a session which is already created in ECE
    • UNKNOWN_SESSION_ID

      public static final PolicyResponse.ReasonCode UNKNOWN_SESSION_ID
      Indicates that the request processing failed due to a session which is not exists
    • For example, when a UPDATE/TERMINATE request received indicating a session which is not yet created in ECE
    • ERROR_UNKNOWN_POLICY_COUNTERS

      public static final PolicyResponse.ReasonCode ERROR_UNKNOWN_POLICY_COUNTERS
      Indicates that the requested policy counters are not valid for the particular subscriber
    • ERROR_NO_AVAILABLE_POLICY_COUNTERS

      public static final PolicyResponse.ReasonCode ERROR_NO_AVAILABLE_POLICY_COUNTERS
      Indicates that the subscriber does not have any policy counters
    • CUSTOMER_NOT_FOUND

      public static final PolicyResponse.ReasonCode CUSTOMER_NOT_FOUND
      Indicates that the customer not found
    • PRODUCT_NOT_FOUND

      public static final PolicyResponse.ReasonCode PRODUCT_NOT_FOUND
      Indicates that the product not found
    • PARTIAL_SUBSCRIPTION

      public static final PolicyResponse.ReasonCode PARTIAL_SUBSCRIPTION
      Indicates partial subscription of preferences
    • INVALID_PREFERENCES

      public static final PolicyResponse.ReasonCode INVALID_PREFERENCES
      Indicates all the requested preferences are invalid
    • CUSTOMER_IN_TRANSACTION

      public static final PolicyResponse.ReasonCode CUSTOMER_IN_TRANSACTION
      Indicates that the customer is locked
  • Method Details

    • values

      public static PolicyResponse.ReasonCode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PolicyResponse.ReasonCode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null