public class OAuthProxyException extends ServiceException
| Constructor and Description |
|---|
OAuthProxyException(HttpURLConnection httpConn)
Creates a new
OAuthProxyException, and populates the OAuth Proxy
specific parameters from the HttpURLConnection. |
| Modifier and Type | Method and Description |
|---|---|
String |
getApprovalUrl()
Gets the value of the "x_oauth_approval_url" header from the http
response.
|
String |
getError()
Gets the value of the "x_oauth_error" header from the http response.
|
String |
getErrorText()
Gets the value of the "x_oauth_error_text" header from the http
response.
|
String |
getState()
Gets the value of the "x_oauth_state" header from the http response.
|
addSibling, getCodeName, getDebugInfo, getDomainName, getExtendedHelp, getHttpErrorCodeOverride, getHttpHeader, getHttpHeaders, getInternalReason, getLocation, getLocationType, getMessage, getOAuthProxyResponse, getResponseBody, getResponseContentType, getSendReport, getSiblings, hasOAuthProxyResponse, initCause, matches, matchesAny, setCode, setDebugInfo, setDomain, setExtendedHelp, setHeaderLocation, setHttpErrorCodeOverride, setInternalReason, setLocation, setResponse, setResponseBody, setResponseContentType, setSendReport, setXpathLocation, toString, toXmlErrorMessage, toXmlErrorMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic OAuthProxyException(HttpURLConnection httpConn) throws IOException
OAuthProxyException, and populates the OAuth Proxy
specific parameters from the HttpURLConnection.httpConn - The http response.IOExceptionpublic String getState()
public String getApprovalUrl()
public String getError()
public String getErrorText()
Copyright © 2012. All Rights Reserved.