public class GraphApiException
extends org.springframework.security.oauth2.common.exceptions.OAuth2Exception
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
GraphApiException.FacebookErrorMessage
This class represents an error message from the Graph-API 
 | 
static class  | 
GraphApiException.Type  | 
ACCESS_DENIED, DESCRIPTION, ERROR, INSUFFICIENT_SCOPE, INVALID_CLIENT, INVALID_GRANT, INVALID_REQUEST, INVALID_SCOPE, INVALID_TOKEN, REDIRECT_URI_MISMATCH, UNAUTHORIZED_CLIENT, UNSUPPORTED_GRANT_TYPE, UNSUPPORTED_RESPONSE_TYPE, URI| Modifier | Constructor and Description | 
|---|---|
protected  | 
GraphApiException(GraphApiException.FacebookErrorMessage error)  | 
| Modifier and Type | Method and Description | 
|---|---|
static GraphApiException | 
create(byte[] message)  | 
static GraphApiException | 
create(GraphApiException.FacebookErrorMessage error)  | 
static GraphApiException | 
create(InputStream in)  | 
Integer | 
getCode()  | 
Integer | 
getSubCode()  | 
String | 
getTraceId()  | 
GraphApiException.Type | 
getType()  | 
String | 
getUserMessage()  | 
String | 
getUserTitle()  | 
String | 
toString()  | 
addAdditionalInformation, create, getAdditionalInformation, getHttpErrorCode, getOAuth2ErrorCode, getSummary, valueOfaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceprotected GraphApiException(GraphApiException.FacebookErrorMessage error)
public static GraphApiException create(InputStream in) throws IOException, com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException
IOExceptioncom.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionpublic static GraphApiException create(byte[] message) throws IOException, com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException
IOExceptioncom.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionpublic static GraphApiException create(GraphApiException.FacebookErrorMessage error)
public GraphApiException.Type getType()
public Integer getCode()
public Integer getSubCode()
public String getUserTitle()
public String getUserMessage()
public String getTraceId()
public String toString()
toString in class org.springframework.security.oauth2.common.exceptions.OAuth2ExceptionCopyright © 2015. All rights reserved.