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
Reasons of the response status.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the customer is lockedIndicates that the customer not foundIndicates that the subscriber does not have any policy countersIndicates that the requested policy counters are not valid for the particular subscriberIndicates all the requested preferences are invalidIndicates 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 ECEIndicates partial subscription of preferencesIndicates that the product not foundIndicates that the request processing failed due to a undefined error in the systemIndicates 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 -
Method Summary
Modifier and TypeMethodDescriptionstatic PolicyResponse.ReasonCode
Returns the enum constant of this class with the specified name.static PolicyResponse.ReasonCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SYSTEM_ERR
Indicates that the request processing failed due to a undefined error in the system -
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
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
Indicates that the requested policy counters are not valid for the particular subscriber -
ERROR_NO_AVAILABLE_POLICY_COUNTERS
Indicates that the subscriber does not have any policy counters -
CUSTOMER_NOT_FOUND
Indicates that the customer not found -
PRODUCT_NOT_FOUND
Indicates that the product not found -
PARTIAL_SUBSCRIPTION
Indicates partial subscription of preferences -
INVALID_PREFERENCES
Indicates all the requested preferences are invalid -
CUSTOMER_IN_TRANSACTION
Indicates that the customer is locked
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-