Package com.restfb.exception
Klasse FacebookNetworkException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.restfb.exception.FacebookException
com.restfb.exception.FacebookNetworkException
- Alle implementierten Schnittstellen:
Serializable
Indicates that a network error occurred while trying to connect to the Facebook API endpoint.
Examples: No network adapter available, API endpoint is down.
- Autor:
- Mark Allen
- Siehe auch:
-
Konstruktorübersicht
KonstruktorBeschreibungFacebookNetworkException
(Integer httpStatusCode) Creates an exception with the given message and HTTP status code.Creates an exception with the given message and cause.FacebookNetworkException
(Throwable cause, Integer httpStatusCode) Creates an exception with the given message, cause, and HTTP status code. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGets the HTTP response status code.Von Klasse geerbte Methoden java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Konstruktordetails
-
FacebookNetworkException
Creates an exception with the given message and cause.- Parameter:
cause
- The exception that caused this exception to be thrown.
-
FacebookNetworkException
Creates an exception with the given message and HTTP status code.- Parameter:
httpStatusCode
- The HTTP response status code.
-
FacebookNetworkException
Creates an exception with the given message, cause, and HTTP status code.- Parameter:
cause
- The exception that caused this exception to be thrown.httpStatusCode
- The HTTP response status code.
-
-
Methodendetails
-
getHttpStatusCode
Gets the HTTP response status code.- Gibt zurück:
- The HTTP response status code.
-