|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FacebookRequestError.Category>
com.facebook.FacebookRequestError.Category
public static enum FacebookRequestError.Category
An enum that represents the Facebook SDK classification for the error that occurred.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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.
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |