public static enum NetworkCallback.StNetworkException extends Enum<NetworkCallback.StNetworkException>
| Enum Constant and Description |
|---|
INVALID_API_VERSION
The Mobile API version you requested is invalid
|
KNOWN_VALIDATION_ERROR
A field validation issue has occurred
|
OUTDATED_API_VERSION
The Mobile API version you specified is not supported
|
UNKNOWN_ERROR
An unknown error has occurred
|
| Modifier and Type | Method and Description |
|---|---|
static NetworkCallback.StNetworkException |
getExceptionType(int httpStatus,
int errorCode) |
static NetworkCallback.StNetworkException |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkCallback.StNetworkException[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkCallback.StNetworkException UNKNOWN_ERROR
public static final NetworkCallback.StNetworkException OUTDATED_API_VERSION
public static final NetworkCallback.StNetworkException INVALID_API_VERSION
public static final NetworkCallback.StNetworkException KNOWN_VALIDATION_ERROR
public static NetworkCallback.StNetworkException[] values()
for (NetworkCallback.StNetworkException c : NetworkCallback.StNetworkException.values()) System.out.println(c);
public static NetworkCallback.StNetworkException valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static NetworkCallback.StNetworkException getExceptionType(int httpStatus, int errorCode)