|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SubIllegalArgumentErrorCode>
net.rim.pushsdk.subscription.SubIllegalArgumentErrorCode
public enum SubIllegalArgumentErrorCode
Error codes relating to invalid arguments to a subscription operation.
| Enum Constant Summary | |
|---|---|
INVALID_ADDRESS
If the address specified for the subscriber was null, empty, or too long. |
|
INVALID_PARAMETERS
If the model or OS version specified for the subscriber was null or empty. |
|
INVALID_PUSH_APPLICATION
If the push application id specified for the subscriber was null or empty. |
|
INVALID_SUBSCRIBER_ID
If the subscriber id specified was null or empty. |
|
INVALID_TYPE
If the type specified for the subscriber is not one of null or a valid subscriber type. |
|
| Method Summary | |
|---|---|
SubscriptionStatusCode |
getStatusCode()
Return the SubscriptionStatusCode object matching this error code. |
String |
toString()
|
static SubIllegalArgumentErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SubIllegalArgumentErrorCode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SubIllegalArgumentErrorCode INVALID_PUSH_APPLICATION
public static final SubIllegalArgumentErrorCode INVALID_SUBSCRIBER_ID
public static final SubIllegalArgumentErrorCode INVALID_ADDRESS
public static final SubIllegalArgumentErrorCode INVALID_PARAMETERS
public static final SubIllegalArgumentErrorCode INVALID_TYPE
| Method Detail |
|---|
public static SubIllegalArgumentErrorCode[] values()
for (SubIllegalArgumentErrorCode c : SubIllegalArgumentErrorCode.values()) System.out.println(c);
public static SubIllegalArgumentErrorCode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<SubIllegalArgumentErrorCode>public SubscriptionStatusCode getStatusCode()
SubscriptionStatusCode object matching this error code.
SubscriptionStatusCode object matching this error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||