public class OAuthProxyException extends ServiceException
| Constructor and Description |
|---|
OAuthProxyException(java.net.HttpURLConnection httpConn)
Creates a new
OAuthProxyException, and populates the OAuth Proxy
specific parameters from the HttpURLConnection. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApprovalUrl()
Gets the value of the "x_oauth_approval_url" header from the http
response.
|
java.lang.String |
getError()
Gets the value of the "x_oauth_error" header from the http response.
|
java.lang.String |
getErrorText()
Gets the value of the "x_oauth_error_text" header from the http
response.
|
java.lang.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, toXmlErrorMessagepublic OAuthProxyException(java.net.HttpURLConnection httpConn)
throws java.io.IOException
OAuthProxyException, and populates the OAuth Proxy
specific parameters from the HttpURLConnection.httpConn - The http response.java.io.IOExceptionpublic java.lang.String getState()
public java.lang.String getApprovalUrl()
public java.lang.String getError()
public java.lang.String getErrorText()