org.jclouds.cloudstack.domain
Enum AsyncJobError.ErrorCode
java.lang.Object
java.lang.Enum<AsyncJobError.ErrorCode>
org.jclouds.cloudstack.domain.AsyncJobError.ErrorCode
- All Implemented Interfaces:
- Serializable, Comparable<AsyncJobError.ErrorCode>
- Enclosing class:
- AsyncJobError
public static enum AsyncJobError.ErrorCode
- extends Enum<AsyncJobError.ErrorCode>
Error codes for job errors
INTERNAL_ERROR
public static final AsyncJobError.ErrorCode INTERNAL_ERROR
ACCOUNT_ERROR
public static final AsyncJobError.ErrorCode ACCOUNT_ERROR
ACCOUNT_RESOURCE_LIMIT_ERROR
public static final AsyncJobError.ErrorCode ACCOUNT_RESOURCE_LIMIT_ERROR
INSUFFICIENT_CAPACITY_ERROR
public static final AsyncJobError.ErrorCode INSUFFICIENT_CAPACITY_ERROR
RESOURCE_UNAVAILABLE_ERROR
public static final AsyncJobError.ErrorCode RESOURCE_UNAVAILABLE_ERROR
RESOURCE_ALLOCATION_ERROR
public static final AsyncJobError.ErrorCode RESOURCE_ALLOCATION_ERROR
RESOURCE_IN_USE_ERROR
public static final AsyncJobError.ErrorCode RESOURCE_IN_USE_ERROR
NETWORK_RULE_CONFLICT_ERROR
public static final AsyncJobError.ErrorCode NETWORK_RULE_CONFLICT_ERROR
UNKNOWN
public static final AsyncJobError.ErrorCode UNKNOWN
values
public static AsyncJobError.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 (AsyncJobError.ErrorCode c : AsyncJobError.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 AsyncJobError.ErrorCode 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
code
public int code()
fromValue
public static AsyncJobError.ErrorCode fromValue(String value)
Copyright © 2009-2012 jclouds. All Rights Reserved.