public static enum AsyncJobError.ErrorCode extends Enum<AsyncJobError.ErrorCode>
| Enum Constant and Description | 
|---|
| ACCOUNT_ERROR | 
| ACCOUNT_RESOURCE_LIMIT_ERROR | 
| INSUFFICIENT_CAPACITY_ERROR | 
| INTERNAL_ERROR | 
| NETWORK_RULE_CONFLICT_ERROR | 
| RESOURCE_ALLOCATION_ERROR | 
| RESOURCE_IN_USE_ERROR | 
| RESOURCE_UNAVAILABLE_ERROR | 
| UNKNOWN | 
| Modifier and Type | Method and Description | 
|---|---|
| int | code() | 
| static AsyncJobError.ErrorCode | fromValue(String value) | 
| static AsyncJobError.ErrorCode | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static AsyncJobError.ErrorCode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final AsyncJobError.ErrorCode INTERNAL_ERROR
public static final AsyncJobError.ErrorCode ACCOUNT_ERROR
public static final AsyncJobError.ErrorCode ACCOUNT_RESOURCE_LIMIT_ERROR
public static final AsyncJobError.ErrorCode INSUFFICIENT_CAPACITY_ERROR
public static final AsyncJobError.ErrorCode RESOURCE_UNAVAILABLE_ERROR
public static final AsyncJobError.ErrorCode RESOURCE_ALLOCATION_ERROR
public static final AsyncJobError.ErrorCode RESOURCE_IN_USE_ERROR
public static final AsyncJobError.ErrorCode NETWORK_RULE_CONFLICT_ERROR
public static final AsyncJobError.ErrorCode UNKNOWN
public static AsyncJobError.ErrorCode[] values()
for (AsyncJobError.ErrorCode c : AsyncJobError.ErrorCode.values()) System.out.println(c);
public static AsyncJobError.ErrorCode 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 int code()
public static AsyncJobError.ErrorCode fromValue(String value)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.