public enum OAuthError extends Enum<OAuthError>
| Enum Constant and Description |
|---|
BAD_OAUTH_CONFIGURATION
The request cannot be completed because the gadget's OAuth configuration
is incorrect.
|
BAD_OAUTH_TOKEN_URL
The request cannot be completed because the gadget didn't specify
an endpoint required for redirection-based authorization.
|
INVALID_PARAMETER
The request contains an invalid parameter.
|
INVALID_REQUEST
The request cannot be completed because the request options were invalid.
|
INVALID_TRUSTED_PARAMETER
The request contains an invalid trusted parameter.
|
INVALID_URL
The URL is invalid
|
MISSING_OAUTH_PARAMETER
The request cannot be completed due to missing oauth field(s)
|
MISSING_SERVER_RESPONSE
The request did not yield a response from the server
|
NOT_OWNER
The user is not the owner of the page.
|
UNAUTHENTICATED
The user is not authenticated.
|
UNKNOWN_PARAMETER_LOCATION |
UNKNOWN_PROBLEM
The request cannot be completed for an unspecified reason.
|
UNSUPPORTED_HTTP_METHOD
The requested HTTP method is not supported
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static OAuthError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuthError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuthError BAD_OAUTH_CONFIGURATION
public static final OAuthError BAD_OAUTH_TOKEN_URL
public static final OAuthError MISSING_OAUTH_PARAMETER
public static final OAuthError MISSING_SERVER_RESPONSE
public static final OAuthError UNSUPPORTED_HTTP_METHOD
public static final OAuthError UNKNOWN_PROBLEM
public static final OAuthError UNAUTHENTICATED
public static final OAuthError NOT_OWNER
public static final OAuthError INVALID_URL
public static final OAuthError INVALID_PARAMETER
public static final OAuthError INVALID_TRUSTED_PARAMETER
public static final OAuthError UNKNOWN_PARAMETER_LOCATION
public static final OAuthError INVALID_REQUEST
public static OAuthError[] values()
for (OAuthError c : OAuthError.values()) System.out.println(c);
public static OAuthError valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<OAuthError>Copyright © 2007-2012. All Rights Reserved.