public static enum FacebookRequestError.Category extends Enum<FacebookRequestError.Category>
Enum Constant and Description |
---|
AUTHENTICATION_REOPEN_SESSION
Indicates that the error is authentication related, and that the app should close
the session and reopen it.
|
AUTHENTICATION_RETRY
Indicates that the error is authentication related, and that the app should retry
the request after some user action.
|
BAD_REQUEST
Indicates that the error is an application error resulting in a bad or malformed
request to the server.
|
CLIENT
Indicates that this is a client-side error.
|
OTHER
Indicates that the error is Facebook-related but cannot be categorized at this time,
and is likely newer than the current version of the SDK.
|
PERMISSION
Indicates that the error is permission related.
|
SERVER
Indicates that the error implies the server had an unexpected failure or may be
temporarily unavailable.
|
THROTTLING
Indicates that the error results from the server throttling the client.
|
Modifier and Type | Method and Description |
---|---|
static FacebookRequestError.Category |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FacebookRequestError.Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FacebookRequestError.Category AUTHENTICATION_RETRY
public static final FacebookRequestError.Category AUTHENTICATION_REOPEN_SESSION
public static final FacebookRequestError.Category PERMISSION
public static final FacebookRequestError.Category SERVER
public static final FacebookRequestError.Category THROTTLING
public static final FacebookRequestError.Category OTHER
public static final FacebookRequestError.Category BAD_REQUEST
public static final FacebookRequestError.Category CLIENT
IOException
s.public static FacebookRequestError.Category[] values()
for (FacebookRequestError.Category c : FacebookRequestError.Category.values()) System.out.println(c);
public static FacebookRequestError.Category 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 null