public class FacebookNetworkException extends FacebookException
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getHttpStatusCode()
Gets the HTTP response status code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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.public Integer getHttpStatusCode()
Copyright © 2014. All rights reserved.