|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.google.code.facebookapi.FacebookException
public class FacebookException
A FacebookException is thrown by the FacebookRestClient to indicate that it encountered an error when trying to process an API request to Facebook. In most cases, the error codes are specified by a response from the Facebook API server, though there are a few exceptions.
| Constructor Summary | |
|---|---|
FacebookException(int code,
java.lang.String msg)
Constructor |
|
| Method Summary | |
|---|---|
int |
getCode()
See http://wiki.developers.facebook.com/index.php/Error_codes for more information |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FacebookException(int code,
java.lang.String msg)
code - the error code that caused this exception (see http://wiki.developers.facebook.com/index.php/Error_codes)msg - a message describing the nature of the error| Method Detail |
|---|
public int getCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||