org.apache.shindig.gadgets
Enum GadgetException.Code
java.lang.Object
java.lang.Enum<GadgetException.Code>
org.apache.shindig.gadgets.GadgetException.Code
- All Implemented Interfaces:
- Serializable, Comparable<GadgetException.Code>
- Enclosing class:
- GadgetException
public static enum GadgetException.Code
- extends Enum<GadgetException.Code>
INTERNAL_SERVER_ERROR
public static final GadgetException.Code INTERNAL_SERVER_ERROR
INVALID_PATH
public static final GadgetException.Code INVALID_PATH
INVALID_CONFIG
public static final GadgetException.Code INVALID_CONFIG
INVALID_USER_DATA
public static final GadgetException.Code INVALID_USER_DATA
INVALID_SECURITY_TOKEN
public static final GadgetException.Code INVALID_SECURITY_TOKEN
EMPTY_XML_DOCUMENT
public static final GadgetException.Code EMPTY_XML_DOCUMENT
MALFORMED_XML_DOCUMENT
public static final GadgetException.Code MALFORMED_XML_DOCUMENT
FAILED_TO_RETRIEVE_CONTENT
public static final GadgetException.Code FAILED_TO_RETRIEVE_CONTENT
UNSUPPORTED_FEATURE
public static final GadgetException.Code UNSUPPORTED_FEATURE
INVALID_PARAMETER
public static final GadgetException.Code INVALID_PARAMETER
MISSING_PARAMETER
public static final GadgetException.Code MISSING_PARAMETER
UNRECOGNIZED_PARAMETER
public static final GadgetException.Code UNRECOGNIZED_PARAMETER
MISSING_FEATURE_REGISTRY
public static final GadgetException.Code MISSING_FEATURE_REGISTRY
MISSING_MESSAGE_BUNDLE_CACHE
public static final GadgetException.Code MISSING_MESSAGE_BUNDLE_CACHE
MISSING_REMOTE_OBJECT_FETCHER
public static final GadgetException.Code MISSING_REMOTE_OBJECT_FETCHER
MISSING_SPEC_CACHE
public static final GadgetException.Code MISSING_SPEC_CACHE
MALFORMED_FOR_SAFE_INLINING
public static final GadgetException.Code MALFORMED_FOR_SAFE_INLINING
CSS_PARSE_ERROR
public static final GadgetException.Code CSS_PARSE_ERROR
HTML_PARSE_ERROR
public static final GadgetException.Code HTML_PARSE_ERROR
IMAGE_PARSE_ERROR
public static final GadgetException.Code IMAGE_PARSE_ERROR
JS_PARSE_ERROR
public static final GadgetException.Code JS_PARSE_ERROR
UNKNOWN_VIEW_SPECIFIED
public static final GadgetException.Code UNKNOWN_VIEW_SPECIFIED
BLACKLISTED_GADGET
public static final GadgetException.Code BLACKLISTED_GADGET
OAUTH_STORAGE_ERROR
public static final GadgetException.Code OAUTH_STORAGE_ERROR
OAUTH_APPROVAL_NEEDED
public static final GadgetException.Code OAUTH_APPROVAL_NEEDED
REQUEST_SIGNING_FAILURE
public static final GadgetException.Code REQUEST_SIGNING_FAILURE
values
public static GadgetException.Code[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (GadgetException.Code c : GadgetException.Code.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GadgetException.Code valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2007-2012. All Rights Reserved.