public class FacebookResponseStatusException extends FacebookException
{"error_code": 2, "error_msg": "The service is not available at this time.", ...}
.Constructor and Description |
---|
FacebookResponseStatusException(Integer errorCode,
String errorMessage)
Creates an exception with the given message and error code.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getErrorCode()
Gets the Facebook API error code.
|
String |
getErrorMessage()
Gets the Facebook API error message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FacebookResponseStatusException(Integer errorCode, String errorMessage)
errorCode
- Value of the Facebook response attribute error_code
.errorMessage
- Value of the Facebook response attribute error_msg
.Copyright © 2014. All rights reserved.