com.google.code.facebookapi
Class ErrorCode

java.lang.Object
  extended by com.google.code.facebookapi.ErrorCode

public class ErrorCode
extends java.lang.Object

Static class for organizing the error codes used by the Facebook API. Full details are here: http://wiki.developers.facebook.com/index.php/Error_codes


Field Summary
static int API_EC_BAD_IP
           
static int API_EC_DEPRECATED
           
static int API_EC_HOST_API
           
static int API_EC_HOST_PUP
           
static int API_EC_HOST_READONLY
           
static int API_EC_HOST_UP
           
static int API_EC_INTERNAL_FQL_ERROR
           
static int API_EC_METHOD
           
static int API_EC_PERMISSION_DENIED
           
static int API_EC_RATE
           
static int API_EC_SECURE
           
static int API_EC_SERVICE
           
static int API_EC_SESSION_SECRET_NOT_ALLOWED
           
static int API_EC_UNKNOWN
           
static int API_EC_VERSION
           
static int FBML_DESKTOP_FBML_RESTRICTED
          Desktop app tried to set FBML for an invalid user
static int FBML_MARKUP_NOT_SET
          Failed to set FBML parkup
static int FEED_ACTION_LIMIT_REACHED
          Feed action limit reached
static int FEED_BLANK_TITLE
          Feed title is blank
static int FEED_BODY_LENGTH_EXCEEDED
          Feed body is too long
static int FEED_INCORRECT_USERLINK
          Too many fb:userLink tags in title, or like points to an invalid user
static int FEED_INVALID_PRIORITY
          Feed priority value not valid
static int FEED_LIMIT_REACHED
          Feed publication limit reached
static int FEED_PHOTO_LINK_INVALID
          Specified photo URL for feed is invalid
static int FEED_PHOTO_NOT_FOUND
          Could not find photo to include in feed
static int FEED_TITLE_LENGTH_EXCEEDED
          Feed title is too long
static int FEED_TOO_MANY_LINKS
          Feed title contains too many links
static int FQL_FIELD_NOT_FOUND
          Field referenced in FQL was not found
static int FQL_INVALID_FUNCTION
          The requested FQL function was not found
static int FQL_INVALID_PARAMETER
          The FQL query includes an invalid parameter
static int FQL_NOT_INDEXABLE
          FQL query cannot be indexed
static int FQL_PARSE_ERROR
          FQL query fails to parse
static int FQL_TABLE_NOT_FOUND
          Table referenced in FQL was not found
static int FQL_UNKNOWN_ERROR
          An unknown error occured when processing FQL
static int GAPI_EC_TOO_MANY_CALLS
           
static int GEN_INVALID_PARAMETER
          A specified API parameter was invalid, or a required parameter was missing
static int GEN_PERMISSIONS_ERROR
          The requested action generated a permissions error
static int GEN_REF_SET_FAILED
          Unknown error, please try the request again
static int PERM_REQUIRED_PHOTOS
          Editing existing photos requires extended permissions
static int PERM_REQUIRED_STATUS
          Updating a user's status requires extended permissions
static int PHOTO_INVALID_ALBUM_ID
          Specified album not valid
static int PHOTO_INVALID_PHOTO_ID
          Specified photo not valid
static int PHOTO_INVALID_USER_ID
          Specified user not valid
static int PHOTOS_ALBUM_FULL
          The specified album is full
static int PHOTOS_BAD_IMAGE
          The photo file is invalid or missing
static int PHOTOS_INVALID_TAG_SUBJECT
          The specified photo tag target is invalid
static int PHOTOS_TAG_NOT_ALLOWED
          The specified photo cannot be tagged
static int PHOTOS_TOO_MANY_PHOTOS
          Too many photos are pending
static int PHOTOS_TOO_MANY_TAGS
          Too many tags are pending
static int SESSION_CANNOT_USE_SESSION_SECRET
          A session secret is not permitted to be used with this type of session key
static int SESSION_INVALID
          Session key invalid.
static int SESSION_METHOD_NOT_ALLOWED
          Session key specified cannot be used to call this method
static int SESSION_REQUIRED
          A session key is required for calling this method
static int SESSION_REQUIRED_FOR_SECRET
          A session key must be specified when request is signed with a session secret
static int SESSION_TIMED_OUT
          Session key specified has passed its expiration time
 
Constructor Summary
ErrorCode()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

API_EC_UNKNOWN

public static final int API_EC_UNKNOWN
See Also:
Constant Field Values

API_EC_SERVICE

public static final int API_EC_SERVICE
See Also:
Constant Field Values

API_EC_METHOD

public static final int API_EC_METHOD
See Also:
Constant Field Values

GAPI_EC_TOO_MANY_CALLS

public static final int GAPI_EC_TOO_MANY_CALLS
See Also:
Constant Field Values

API_EC_BAD_IP

public static final int API_EC_BAD_IP
See Also:
Constant Field Values

API_EC_HOST_API

public static final int API_EC_HOST_API
See Also:
Constant Field Values

API_EC_HOST_UP

public static final int API_EC_HOST_UP
See Also:
Constant Field Values

API_EC_SECURE

public static final int API_EC_SECURE
See Also:
Constant Field Values

API_EC_RATE

public static final int API_EC_RATE
See Also:
Constant Field Values

API_EC_PERMISSION_DENIED

public static final int API_EC_PERMISSION_DENIED
See Also:
Constant Field Values

API_EC_DEPRECATED

public static final int API_EC_DEPRECATED
See Also:
Constant Field Values

API_EC_VERSION

public static final int API_EC_VERSION
See Also:
Constant Field Values

API_EC_INTERNAL_FQL_ERROR

public static final int API_EC_INTERNAL_FQL_ERROR
See Also:
Constant Field Values

API_EC_HOST_PUP

public static final int API_EC_HOST_PUP
See Also:
Constant Field Values

API_EC_SESSION_SECRET_NOT_ALLOWED

public static final int API_EC_SESSION_SECRET_NOT_ALLOWED
See Also:
Constant Field Values

API_EC_HOST_READONLY

public static final int API_EC_HOST_READONLY
See Also:
Constant Field Values

GEN_INVALID_PARAMETER

public static final int GEN_INVALID_PARAMETER
A specified API parameter was invalid, or a required parameter was missing

See Also:
Constant Field Values

SESSION_INVALID

public static final int SESSION_INVALID
Session key invalid. This could be because the session key has an incorrect format, or because the user has revoked this session

See Also:
Constant Field Values

PHOTO_INVALID_USER_ID

public static final int PHOTO_INVALID_USER_ID
Specified user not valid

See Also:
Constant Field Values

PHOTO_INVALID_ALBUM_ID

public static final int PHOTO_INVALID_ALBUM_ID
Specified album not valid

See Also:
Constant Field Values

PHOTO_INVALID_PHOTO_ID

public static final int PHOTO_INVALID_PHOTO_ID
Specified photo not valid

See Also:
Constant Field Values

FEED_INVALID_PRIORITY

public static final int FEED_INVALID_PRIORITY
Feed priority value not valid

See Also:
Constant Field Values

GEN_PERMISSIONS_ERROR

public static final int GEN_PERMISSIONS_ERROR
The requested action generated a permissions error

See Also:
Constant Field Values

FBML_DESKTOP_FBML_RESTRICTED

public static final int FBML_DESKTOP_FBML_RESTRICTED
Desktop app tried to set FBML for an invalid user

See Also:
Constant Field Values

PERM_REQUIRED_STATUS

public static final int PERM_REQUIRED_STATUS
Updating a user's status requires extended permissions

See Also:
Constant Field Values

PERM_REQUIRED_PHOTOS

public static final int PERM_REQUIRED_PHOTOS
Editing existing photos requires extended permissions

See Also:
Constant Field Values

PHOTOS_ALBUM_FULL

public static final int PHOTOS_ALBUM_FULL
The specified album is full

See Also:
Constant Field Values

PHOTOS_INVALID_TAG_SUBJECT

public static final int PHOTOS_INVALID_TAG_SUBJECT
The specified photo tag target is invalid

See Also:
Constant Field Values

PHOTOS_TAG_NOT_ALLOWED

public static final int PHOTOS_TAG_NOT_ALLOWED
The specified photo cannot be tagged

See Also:
Constant Field Values

PHOTOS_BAD_IMAGE

public static final int PHOTOS_BAD_IMAGE
The photo file is invalid or missing

See Also:
Constant Field Values

PHOTOS_TOO_MANY_PHOTOS

public static final int PHOTOS_TOO_MANY_PHOTOS
Too many photos are pending

See Also:
Constant Field Values

PHOTOS_TOO_MANY_TAGS

public static final int PHOTOS_TOO_MANY_TAGS
Too many tags are pending

See Also:
Constant Field Values

FBML_MARKUP_NOT_SET

public static final int FBML_MARKUP_NOT_SET
Failed to set FBML parkup

See Also:
Constant Field Values

FEED_LIMIT_REACHED

public static final int FEED_LIMIT_REACHED
Feed publication limit reached

See Also:
Constant Field Values

FEED_ACTION_LIMIT_REACHED

public static final int FEED_ACTION_LIMIT_REACHED
Feed action limit reached

See Also:
Constant Field Values

FEED_TOO_MANY_LINKS

public static final int FEED_TOO_MANY_LINKS
Feed title contains too many links

See Also:
Constant Field Values

FEED_TITLE_LENGTH_EXCEEDED

public static final int FEED_TITLE_LENGTH_EXCEEDED
Feed title is too long

See Also:
Constant Field Values

FEED_INCORRECT_USERLINK

public static final int FEED_INCORRECT_USERLINK
Too many fb:userLink tags in title, or like points to an invalid user

See Also:
Constant Field Values

FEED_BLANK_TITLE

public static final int FEED_BLANK_TITLE
Feed title is blank

See Also:
Constant Field Values

FEED_BODY_LENGTH_EXCEEDED

public static final int FEED_BODY_LENGTH_EXCEEDED
Feed body is too long

See Also:
Constant Field Values

FEED_PHOTO_NOT_FOUND

public static final int FEED_PHOTO_NOT_FOUND
Could not find photo to include in feed

See Also:
Constant Field Values

FEED_PHOTO_LINK_INVALID

public static final int FEED_PHOTO_LINK_INVALID
Specified photo URL for feed is invalid

See Also:
Constant Field Values

SESSION_TIMED_OUT

public static final int SESSION_TIMED_OUT
Session key specified has passed its expiration time

See Also:
Constant Field Values

SESSION_METHOD_NOT_ALLOWED

public static final int SESSION_METHOD_NOT_ALLOWED
Session key specified cannot be used to call this method

See Also:
Constant Field Values

SESSION_REQUIRED

public static final int SESSION_REQUIRED
A session key is required for calling this method

See Also:
Constant Field Values

SESSION_REQUIRED_FOR_SECRET

public static final int SESSION_REQUIRED_FOR_SECRET
A session key must be specified when request is signed with a session secret

See Also:
Constant Field Values

SESSION_CANNOT_USE_SESSION_SECRET

public static final int SESSION_CANNOT_USE_SESSION_SECRET
A session secret is not permitted to be used with this type of session key

See Also:
Constant Field Values

FQL_UNKNOWN_ERROR

public static final int FQL_UNKNOWN_ERROR
An unknown error occured when processing FQL

See Also:
Constant Field Values

FQL_PARSE_ERROR

public static final int FQL_PARSE_ERROR
FQL query fails to parse

See Also:
Constant Field Values

FQL_FIELD_NOT_FOUND

public static final int FQL_FIELD_NOT_FOUND
Field referenced in FQL was not found

See Also:
Constant Field Values

FQL_TABLE_NOT_FOUND

public static final int FQL_TABLE_NOT_FOUND
Table referenced in FQL was not found

See Also:
Constant Field Values

FQL_NOT_INDEXABLE

public static final int FQL_NOT_INDEXABLE
FQL query cannot be indexed

See Also:
Constant Field Values

FQL_INVALID_FUNCTION

public static final int FQL_INVALID_FUNCTION
The requested FQL function was not found

See Also:
Constant Field Values

FQL_INVALID_PARAMETER

public static final int FQL_INVALID_PARAMETER
The FQL query includes an invalid parameter

See Also:
Constant Field Values

GEN_REF_SET_FAILED

public static final int GEN_REF_SET_FAILED
Unknown error, please try the request again

See Also:
Constant Field Values
Constructor Detail

ErrorCode

public ErrorCode()


Copyright © 2010. All Rights Reserved.