|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<InvalidPushAppErrorCode>
net.rim.pushsdk.pushappmgmt.InvalidPushAppErrorCode
public enum InvalidPushAppErrorCode
Error codes relating to a push application being invalid.
| Enum Constant Summary | |
|---|---|
ACTIVE
A push application is active (when it should be inactive). |
|
ALREADY_EXISTS
A push application with the given id already exists. |
|
DOES_NOT_EXIST
A push application could not be found. |
|
EXPIRED
A push application has expired. |
|
INACTIVE
A push application is inactive (when it should be active). |
|
INVALID_APPLICATION_TYPE
A push application was not of the expected type for the operation being performed. |
|
NAME_EXISTS
A push application with the given name already exists. |
|
NOT_WEB_SIGNAL
A push application was not of the type Web Signal (when it should have been). |
|
| Method Summary | |
|---|---|
String |
toString()
Returns a textual description of the error code. |
static InvalidPushAppErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static InvalidPushAppErrorCode[] |
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 InvalidPushAppErrorCode ALREADY_EXISTS
public static final InvalidPushAppErrorCode DOES_NOT_EXIST
public static final InvalidPushAppErrorCode INACTIVE
public static final InvalidPushAppErrorCode ACTIVE
public static final InvalidPushAppErrorCode EXPIRED
public static final InvalidPushAppErrorCode NAME_EXISTS
public static final InvalidPushAppErrorCode NOT_WEB_SIGNAL
public static final InvalidPushAppErrorCode INVALID_APPLICATION_TYPE
PushApplicationType| Method Detail |
|---|
public static InvalidPushAppErrorCode[] values()
for (InvalidPushAppErrorCode c : InvalidPushAppErrorCode.values()) System.out.println(c);
public static InvalidPushAppErrorCode 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<InvalidPushAppErrorCode>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||