public class OAuthException extends Exception
Constructor and Description |
---|
OAuthException(OAuthError error,
String description,
String errorUri) |
Modifier and Type | Method and Description |
---|---|
JSONObject |
createErrorDocument() |
OAuthError |
getError() |
String |
getErrorDescription() |
String |
getErrorURI() |
static OAuthException |
toOAuthException(Form params) |
static OAuthException |
toOAuthException(JSONObject result) |
static OAuthException |
toOAuthException(Throwable t) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public OAuthException(OAuthError error, String description, String errorUri)
public static OAuthException toOAuthException(Form params)
public static OAuthException toOAuthException(JSONObject result) throws JSONException
JSONException
public static OAuthException toOAuthException(Throwable t)
public JSONObject createErrorDocument() throws JSONException
JSONException
public OAuthError getError()
public String getErrorDescription()
public String getErrorURI()
Copyright © 2005-2014 Restlet.