|
||||||||||
| 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.restfb.FacebookException
com.restfb.FacebookNetworkException
public class FacebookNetworkException
Indicates that a network error occurred while trying to connect to the Facebook API endpoint.
Examples: No network adapter available, API endpoint is down.
| Constructor Summary | |
|---|---|
FacebookNetworkException(String message,
Integer httpStatusCode)
Creates an exception with the given message and HTTP status code. |
|
FacebookNetworkException(String message,
Throwable cause)
Creates an exception with the given message and cause. |
|
FacebookNetworkException(String message,
Throwable cause,
Integer httpStatusCode)
Creates an exception with the given message, cause, and HTTP status code. |
|
| Method Summary | |
|---|---|
Integer |
getHttpStatusCode()
Gets the HTTP response status code. |
| 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FacebookNetworkException(String message,
Throwable cause)
message - A message describing this exception.cause - The exception that caused this exception to be thrown.
public FacebookNetworkException(String message,
Integer httpStatusCode)
message - A message describing this exception.httpStatusCode - The HTTP response status code.
public FacebookNetworkException(String message,
Throwable cause,
Integer httpStatusCode)
message - A message describing this exception.cause - The exception that caused this exception to be thrown.httpStatusCode - The HTTP response status code.| Method Detail |
|---|
public Integer getHttpStatusCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||