public static enum PolicyResponse.ReasonCode extends java.lang.Enum<PolicyResponse.ReasonCode>
Enum Constant and Description |
---|
CUSTOMER_IN_TRANSACTION
Indicates that the customer is locked
|
CUSTOMER_NOT_FOUND
Indicates that the customer not found
|
ERROR_NO_AVAILABLE_POLICY_COUNTERS
Indicates that the subscriber does not have any policy counters
|
ERROR_UNKNOWN_POLICY_COUNTERS
Indicates that the requested policy counters are not valid for the particular subscriber
|
INVALID_PREFERENCES
Indicates all the requested preferences are invalid
|
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
|
PARTIAL_SUBSCRIPTION
Indicates partial subscription of preferences
|
PRODUCT_NOT_FOUND
Indicates that the product not found
|
SYSTEM_ERR
Indicates that the request processing failed due to a undefined error in the system
|
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
|
Modifier and Type | Method and Description |
---|---|
static PolicyResponse.ReasonCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PolicyResponse.ReasonCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolicyResponse.ReasonCode SYSTEM_ERR
public static final PolicyResponse.ReasonCode INVALID_REQUEST_TYPE
public static final PolicyResponse.ReasonCode UNKNOWN_SESSION_ID
public static final PolicyResponse.ReasonCode ERROR_UNKNOWN_POLICY_COUNTERS
public static final PolicyResponse.ReasonCode ERROR_NO_AVAILABLE_POLICY_COUNTERS
public static final PolicyResponse.ReasonCode CUSTOMER_NOT_FOUND
public static final PolicyResponse.ReasonCode PRODUCT_NOT_FOUND
public static final PolicyResponse.ReasonCode PARTIAL_SUBSCRIPTION
public static final PolicyResponse.ReasonCode INVALID_PREFERENCES
public static final PolicyResponse.ReasonCode CUSTOMER_IN_TRANSACTION
public static PolicyResponse.ReasonCode[] values()
for (PolicyResponse.ReasonCode c : PolicyResponse.ReasonCode.values()) System.out.println(c);
public static PolicyResponse.ReasonCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null