com.atlassian.aws.ec2.awssdk
Enum AwsSupportConstants.ServiceErrorCode
java.lang.Object
java.lang.Enum<AwsSupportConstants.ServiceErrorCode>
com.atlassian.aws.ec2.awssdk.AwsSupportConstants.ServiceErrorCode
- All Implemented Interfaces:
- Serializable, Comparable<AwsSupportConstants.ServiceErrorCode>
- Enclosing class:
- AwsSupportConstants
public static enum AwsSupportConstants.ServiceErrorCode
- extends Enum<AwsSupportConstants.ServiceErrorCode>
MAX_SPOT_INSTANCE_COUNT_EXCEEDED
public static final AwsSupportConstants.ServiceErrorCode MAX_SPOT_INSTANCE_COUNT_EXCEEDED
INVALID_SPOT_INSTANCE_REQUEST_ID_NOT_FOUND
public static final AwsSupportConstants.ServiceErrorCode INVALID_SPOT_INSTANCE_REQUEST_ID_NOT_FOUND
INVALID_INSTANCE_ID_NOT_FOUND
public static final AwsSupportConstants.ServiceErrorCode INVALID_INSTANCE_ID_NOT_FOUND
INVALID_VOLUME_NOT_FOUND
public static final AwsSupportConstants.ServiceErrorCode INVALID_VOLUME_NOT_FOUND
INVALID_SUBNET_ID_NOT_FOUND
public static final AwsSupportConstants.ServiceErrorCode INVALID_SUBNET_ID_NOT_FOUND
INVALID_ALLOCATION_ID_NOT_FOUND
public static final AwsSupportConstants.ServiceErrorCode INVALID_ALLOCATION_ID_NOT_FOUND
INVALID_VPC_ID_NOT_FOUND
public static final AwsSupportConstants.ServiceErrorCode INVALID_VPC_ID_NOT_FOUND
RESOURCE_ALREADY_ASSOCIATED
public static final AwsSupportConstants.ServiceErrorCode RESOURCE_ALREADY_ASSOCIATED
UNAUTHORISED_OPERATION
public static final AwsSupportConstants.ServiceErrorCode UNAUTHORISED_OPERATION
ADDRESS_LIMIT_EXCEEDED
public static final AwsSupportConstants.ServiceErrorCode ADDRESS_LIMIT_EXCEEDED
INSUFFICIENT_INSTANCE_CAPACITY
public static final AwsSupportConstants.ServiceErrorCode INSUFFICIENT_INSTANCE_CAPACITY
values
public static AwsSupportConstants.ServiceErrorCode[] 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 (AwsSupportConstants.ServiceErrorCode c : AwsSupportConstants.ServiceErrorCode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AwsSupportConstants.ServiceErrorCode 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
toString
public String toString()
- Overrides:
toString in class Enum<AwsSupportConstants.ServiceErrorCode>
is
public boolean is(@NotNull
com.amazonaws.AmazonServiceException e)
rethrowIfNot
public void rethrowIfNot(com.amazonaws.AmazonServiceException sparta)
rethrowIfNot
public static void rethrowIfNot(com.amazonaws.AmazonServiceException e,
AwsSupportConstants.ServiceErrorCode... errorCodes)
Copyright © 2015 Atlassian. All rights reserved.