Modifier and Type | Method and 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.
|
public static final ErrorCode UNKNOWN_OUTPUT_MODE
public static final ErrorCode UNKNOWN_API_KEY
public static final ErrorCode UNKNOWN_COMPILATION_LEVEL
public static final ErrorCode UNKNOWN_CHARSET
public static final ErrorCode POST_DATA_TOO_LARGE
public static final ErrorCode FILE_TOO_LARGE
public static final ErrorCode UNREACHABLE_URL
public static final ErrorCode MALFORMED_URL
public static final ErrorCode NO_OUTPUT_INFO
public static final ErrorCode UNKNOWN_OUTPUT_INFO
public static final ErrorCode MISSING_API_KEY
public static final ErrorCode UNKNOWN_WARNING_LEVEL
public static final ErrorCode UNKNOWN_FORMATTING_OPTION
public static final ErrorCode UNKNOWN_PARAMETER
public static final ErrorCode ILLEGAL_OUTPUT_FILE_NAME
public static final ErrorCode HASH_MISMATCH
public static final ErrorCode NO_CODE_FOUND_IN_CACHE
public static final ErrorCode ACCOUNT_OVER_QUOTA
public static final ErrorCode COMPILER_EXCEPTION
public static final ErrorCode UNSUPPORTED_INPUT_RESOURCE_TYPE
public static final ErrorCode DOWNLOAD_OVER_QUOTA
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCode()