|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.google.gdata.util.ServiceException
com.google.gdata.util.OAuthProxyException
public class OAuthProxyException
Represents an error thrown by the OAuth Proxy in an App Engine environment. Provides getters/setters for OAuth Proxy-specific parameters.
Constructor Summary | |
---|---|
OAuthProxyException(java.net.HttpURLConnection httpConn)
Creates a new OAuthProxyException , and populates the OAuth Proxy
specific parameters from the HttpURLConnection . |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public 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.IOException
Method Detail |
---|
public java.lang.String getState()
public java.lang.String getApprovalUrl()
public java.lang.String getError()
public java.lang.String getErrorText()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |