public static enum SMError.ErrorType extends java.lang.Enum<SMError.ErrorType>
| Modifier and Type | Field and Description |
|---|---|
int |
mValue |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static SMError.ErrorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SMError.ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SMError.ErrorType ERROR_CODE_BAD_CONNECTION
public static final SMError.ErrorType ERROR_CODE_COLLECTOR_CLOSED
public static final SMError.ErrorType ERROR_CODE_INTERNAL_SERVER_ERROR
public static final SMError.ErrorType ERROR_CODE_NONEXISTENT_LINK
public static final SMError.ErrorType ERROR_CODE_RESPONDENT_EXITED_SURVEY
public static final SMError.ErrorType ERROR_CODE_RESPONSE_LIMIT_HIT
public static final SMError.ErrorType ERROR_CODE_RESPONSE_PARSE_FAILED
public static final SMError.ErrorType ERROR_CODE_RETRIEVING_RESPONSE
public static final SMError.ErrorType ERROR_CODE_SURVEY_DELETED
public static final SMError.ErrorType ERROR_CODE_TOKEN
public static final SMError.ErrorType ERROR_CODE_USER_CANCELED
public int getValue()
public static SMError.ErrorType 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 nullpublic static SMError.ErrorType[] values()
for (SMError.ErrorType c : SMError.ErrorType.values()) System.out.println(c);