Enum ErrorCode
- java.lang.Object
-
- java.lang.Enum<ErrorCode>
-
- com.google.javascript.jscomp.webservice.common.ErrorCode
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
static ErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN_OUTPUT_MODE
public static final ErrorCode UNKNOWN_OUTPUT_MODE
-
UNKNOWN_API_KEY
public static final ErrorCode UNKNOWN_API_KEY
-
UNKNOWN_COMPILATION_LEVEL
public static final ErrorCode UNKNOWN_COMPILATION_LEVEL
-
UNKNOWN_CHARSET
public static final ErrorCode UNKNOWN_CHARSET
-
POST_DATA_TOO_LARGE
public static final ErrorCode POST_DATA_TOO_LARGE
-
FILE_TOO_LARGE
public static final ErrorCode FILE_TOO_LARGE
-
UNREACHABLE_URL
public static final ErrorCode UNREACHABLE_URL
-
MALFORMED_URL
public static final ErrorCode MALFORMED_URL
-
NO_OUTPUT_INFO
public static final ErrorCode NO_OUTPUT_INFO
-
UNKNOWN_OUTPUT_INFO
public static final ErrorCode UNKNOWN_OUTPUT_INFO
-
MISSING_API_KEY
public static final ErrorCode MISSING_API_KEY
-
UNKNOWN_WARNING_LEVEL
public static final ErrorCode UNKNOWN_WARNING_LEVEL
-
UNKNOWN_FORMATTING_OPTION
public static final ErrorCode UNKNOWN_FORMATTING_OPTION
-
UNKNOWN_PARAMETER
public static final ErrorCode UNKNOWN_PARAMETER
-
ILLEGAL_OUTPUT_FILE_NAME
public static final ErrorCode ILLEGAL_OUTPUT_FILE_NAME
-
HASH_MISMATCH
public static final ErrorCode HASH_MISMATCH
-
NO_CODE_FOUND_IN_CACHE
public static final ErrorCode NO_CODE_FOUND_IN_CACHE
-
ACCOUNT_OVER_QUOTA
public static final ErrorCode ACCOUNT_OVER_QUOTA
-
COMPILER_EXCEPTION
public static final ErrorCode COMPILER_EXCEPTION
-
UNSUPPORTED_INPUT_RESOURCE_TYPE
public static final ErrorCode UNSUPPORTED_INPUT_RESOURCE_TYPE
-
DOWNLOAD_OVER_QUOTA
public static final ErrorCode DOWNLOAD_OVER_QUOTA
-
-
Method Detail
-
values
public static ErrorCode[] 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 (ErrorCode c : ErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorCode valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getCode
public int getCode()
-
-