errorcode.html

来自「A Facebook API client implemented in Jav」· HTML 代码 · 共 1,025 行 · 第 1/3 页

HTML
1,025
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.5.0_13) on Wed Sep 17 19:17:26 PDT 2008 --><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><TITLE>ErrorCode (Facebook Java Library 2.0.1 API)</TITLE><META NAME="keywords" CONTENT="com.google.code.facebookapi.ErrorCode class"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){    parent.document.title="ErrorCode (Facebook Java Library 2.0.1 API)";}</SCRIPT><NOSCRIPT></NOSCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../com/google/code/facebookapi/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ErrorCode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../com/google/code/facebookapi/BundleStoryTemplate.html" title="class in com.google.code.facebookapi"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html" title="class in com.google.code.facebookapi"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?com/google/code/facebookapi/ErrorCode.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ErrorCode.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">com.google.code.facebookapi</FONT><BR>Class ErrorCode</H2><PRE>java.lang.Object  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.google.code.facebookapi.ErrorCode</B></PRE><HR><DL><DT><PRE>public class <B>ErrorCode</B><DT>extends java.lang.Object</DL></PRE><P>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<P><P><HR><P><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Field Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#FBML_DESKTOP_FBML_RESTRICTED">FBML_DESKTOP_FBML_RESTRICTED</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Desktop app tried to set FBML for an invalid user</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#FBML_MARKUP_NOT_SET">FBML_MARKUP_NOT_SET</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Failed to set FBML parkup</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#FEED_ACTION_LIMIT_REACHED">FEED_ACTION_LIMIT_REACHED</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feed action limit reached</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#FEED_BLANK_TITLE">FEED_BLANK_TITLE</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feed title is blank</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#FEED_BODY_LENGTH_EXCEEDED">FEED_BODY_LENGTH_EXCEEDED</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feed body is too long</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#FEED_INCORRECT_USERLINK">FEED_INCORRECT_USERLINK</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Too many fb:userLink tags in title, or like points to an invalid user</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#FEED_INVALID_PRIORITY">FEED_INVALID_PRIORITY</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feed priority value not valid</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#FEED_LIMIT_REACHED">FEED_LIMIT_REACHED</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feed publication limit reached</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#FEED_PHOTO_LINK_INVALID">FEED_PHOTO_LINK_INVALID</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specified photo URL for feed is invalid</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#FEED_PHOTO_NOT_FOUND">FEED_PHOTO_NOT_FOUND</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Could not find photo to include in feed</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#FEED_TITLE_LENGTH_EXCEEDED">FEED_TITLE_LENGTH_EXCEEDED</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feed title is too long</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#FEED_TOO_MANY_LINKS">FEED_TOO_MANY_LINKS</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feed title contains too many links</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#FQL_FIELD_NOT_FOUND">FQL_FIELD_NOT_FOUND</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Field referenced in FQL was not found</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#FQL_INVALID_FUNCTION">FQL_INVALID_FUNCTION</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The requested FQL function was not found</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#FQL_INVALID_PARAMETER">FQL_INVALID_PARAMETER</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The FQL query includes an invalid parameter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#FQL_NOT_INDEXABLE">FQL_NOT_INDEXABLE</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FQL query cannot be indexed</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#FQL_PARSE_ERROR">FQL_PARSE_ERROR</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FQL query fails to parse</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#FQL_TABLE_NOT_FOUND">FQL_TABLE_NOT_FOUND</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Table referenced in FQL was not found</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#FQL_UNKNOWN_ERROR">FQL_UNKNOWN_ERROR</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An unknown error occured when processing FQL</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#GEN_BAD_IP">GEN_BAD_IP</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The API call was made from a machine with a blocked IP</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#GEN_INVALID_PARAMETER">GEN_INVALID_PARAMETER</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A specified API parameter was invalid, or a required parameter was missing</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#GEN_PERMISSIONS_ERROR">GEN_PERMISSIONS_ERROR</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The requested action generated a permissions error</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#GEN_REF_SET_FAILED">GEN_REF_SET_FAILED</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unknown error, please try the request again</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#GEN_SERVICE_ERROR">GEN_SERVICE_ERROR</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;API service is temporarily down.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#GEN_TOO_MANY_CALLS">GEN_TOO_MANY_CALLS</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Too many API calls have been made</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#GEN_UNKNOWN_ERROR">GEN_UNKNOWN_ERROR</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An unspecified error occured.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#GEN_UNKNOWN_METHOD">GEN_UNKNOWN_METHOD</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unknown API method specified</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ErrorCode.html#GEN_WRONG_API_SERVER">GEN_WRONG_API_SERVER</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An invalid API server URL was specified</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?