Partager via


TableErrorCode Class

public final class TableErrorCode
extends ExpandableStringEnum<TableErrorCode>

Defines values for error codes returned from the Tables service. For detailed information about what each error code means and their accompanying status codes, visit the following page: Table service error codes

Field Summary

Modifier and Type Field and Description
static final TableErrorCode ACCOUNT_IOPS_LIMIT_EXCEEDED

Static value AccountIOPSLimitExceeded.

static final TableErrorCode ATOM_FORMAT_NOT_SUPPORTED

Static value AtomFormatNotSupported.

static final TableErrorCode AUTHORIZATION_PERMISSION_MISMATCH

Static value AuthorizationPermissionMismatch.

static final TableErrorCode AUTHORIZATION_RESOURCE_TYPE_MISMATCH

Static value AuthorizationResourceTypeMismatch.

static final TableErrorCode CANNOT_CREATE_TABLE_WITH_IOPS_GREATER_THAN_MAX_ALLOWED_PER_TABLE

Static value CannotCreateTableWithIOPSGreaterThanMaxAllowedPerTable.

static final TableErrorCode COMMANDS_IN_BATCH_ACT_ON_DIFFERENT_PARTITIONS

Static value CommandsInBatchActOnDifferentPartitions.

static final TableErrorCode CONTENT_LENGTH_EXCEEDED

Static value ContentLengthExceeded.

static final TableErrorCode DUPLICATE_KEY_PROPERTY_SPECIFIED

Static value DuplicateKeyPropertySpecified.

static final TableErrorCode DUPLICATE_PROPERTIES_SPECIFIED

Static value DuplicatePropertiesSpecified.

static final TableErrorCode ENTITY_ALREADY_EXISTS

Static value EntityAlreadyExists.

static final TableErrorCode ENTITY_NOT_FOUND

Static value EntityNotFound.

static final TableErrorCode ENTITY_TOO_LARGE

Static value EntityTooLarge.

static final TableErrorCode FORBIDDEN

Static value Forbidden.

static final TableErrorCode INVALID_DUPLICATE_ROW

Static value InvalidDuplicateRow.

static final TableErrorCode INVALID_INPUT

Static value InvalidInput.

static final TableErrorCode INVALID_VALUE_TYPE

Static value InvalidValueType.

static final TableErrorCode JSON_FORMAT_NOT_SUPPORTED

Static value JsonFormatNotSupported.

static final TableErrorCode JSON_VERBOSE_FORMAT_NOT_SUPPORTED

Static value JsonVerboseFormatNotSupported.

static final TableErrorCode KEY_VALUE_TOO_LARGE

Static value KeyValueTooLarge.

static final TableErrorCode MEDIA_TYPE_NOT_SUPPORTED

Static value MediaTypeNotSupported.

static final TableErrorCode METHOD_NOT_ALLOWED

Static value MethodNotAllowed.

static final TableErrorCode NOT_IMPLEMENTED

Static value NotImplemented.

static final TableErrorCode OPERATION_TIMED_OUT

Static value OperationTimedOut.

static final TableErrorCode OPERATOR_INVALID

Static value OperatorInvalid.

static final TableErrorCode OUT_OF_RANGE_INPUT

Static value OutOfRangeInput.

static final TableErrorCode PARTITION_KEY_EQUALITY_COMPARISON_EXPECTED

Static value PartitionKeyEqualityComparisonExpected.

static final TableErrorCode PARTITION_KEY_NOT_SPECIFIED

Static value PartitionKeyNotSpecified.

static final TableErrorCode PARTITION_KEY_PROPERTY_CANNOT_BE_UPDATED

Static value PartitionKeyPropertyCannotBeUpdated.

static final TableErrorCode PARTITION_KEY_SPECIFIED_MORE_THAN_ONCE

Static value PartitionKeySpecifiedMoreThanOnce.

static final TableErrorCode PER_TABLE_IOPS_DECREMENT_LIMIT_REACHED

Static value PerTableIOPSDecrementLimitReached.

static final TableErrorCode PER_TABLE_IOPS_INCREMENT_LIMIT_REACHED

Static value PerTableIOPSIncrementLimitReached.

static final TableErrorCode PRIMARY_KEY_PROPERTY_IS_INVALID_TYPE

Static value PrimaryKeyPropertyIsInvalidType.

static final TableErrorCode PROPERTIES_NEED_VALUE

Static value PropertiesNeedValue.

static final TableErrorCode PROPERTY_NAME_INVALID

Static value PropertyNameInvalid.

static final TableErrorCode PROPERTY_NAME_TOO_LONG

Static value PropertyNameTooLong.

static final TableErrorCode PROPERTY_VALUE_TOO_LARGE

Static value PropertyValueTooLarge.

static final TableErrorCode RESOURCE_NOT_FOUND

Static value TableNotFound.

static final TableErrorCode SETTING_IOPS_FOR_A_TABLE_IN_PROVISIONING_NOT_ALLOWED

Static value SettingIOPSForATableInProvisioningNotAllowed.

static final TableErrorCode TABLE_ALREADY_EXISTS

Static value TableAlreadyExists.

static final TableErrorCode TABLE_BEING_DELETED

Static value TableBeingDeleted.

static final TableErrorCode TABLE_HAS_NO_PROPERTIES

Static value TableHasNoProperties.

static final TableErrorCode TABLE_HAS_NO_SUCH_PROPERTY

Static value TableHasNoSuchProperty.

static final TableErrorCode TABLE_NOT_FOUND

Static value TableNotFound.

static final TableErrorCode TOO_MANY_PROPERTIES

Static value TooManyProperties.

static final TableErrorCode UPDATE_CONDITION_NOT_SATISFIED

Static value UpdateConditionNotSatisfied.

static final TableErrorCode X_METHOD_INCORRECT_COUNT

Static value XMethodIncorrectCount.

static final TableErrorCode X_METHOD_INCORRECT_VALUE

Static value XMethodIncorrectValue.

static final TableErrorCode X_METHOD_NOT_USING_POST

Static value XMethodNotUsingPost.

Constructor Summary

Constructor Description
TableErrorCode()

Creates an instance of TableErrorCode.

Method Summary

Modifier and Type Method and Description
static TableErrorCode fromString(String name)

Returns the TableErrorCode constant with the provided name, or null if no TableErrorCode has the provided name.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACCOUNT_IOPS_LIMIT_EXCEEDED

public static final TableErrorCode ACCOUNT_IOPS_LIMIT_EXCEEDED

Static value AccountIOPSLimitExceeded.

ATOM_FORMAT_NOT_SUPPORTED

public static final TableErrorCode ATOM_FORMAT_NOT_SUPPORTED

Static value AtomFormatNotSupported.

AUTHORIZATION_PERMISSION_MISMATCH

public static final TableErrorCode AUTHORIZATION_PERMISSION_MISMATCH

Static value AuthorizationPermissionMismatch.

AUTHORIZATION_RESOURCE_TYPE_MISMATCH

public static final TableErrorCode AUTHORIZATION_RESOURCE_TYPE_MISMATCH

Static value AuthorizationResourceTypeMismatch.

CANNOT_CREATE_TABLE_WITH_IOPS_GREATER_THAN_MAX_ALLOWED_PER_TABLE

public static final TableErrorCode CANNOT_CREATE_TABLE_WITH_IOPS_GREATER_THAN_MAX_ALLOWED_PER_TABLE

Static value CannotCreateTableWithIOPSGreaterThanMaxAllowedPerTable.

COMMANDS_IN_BATCH_ACT_ON_DIFFERENT_PARTITIONS

public static final TableErrorCode COMMANDS_IN_BATCH_ACT_ON_DIFFERENT_PARTITIONS

Static value CommandsInBatchActOnDifferentPartitions.

CONTENT_LENGTH_EXCEEDED

public static final TableErrorCode CONTENT_LENGTH_EXCEEDED

Static value ContentLengthExceeded.

DUPLICATE_KEY_PROPERTY_SPECIFIED

public static final TableErrorCode DUPLICATE_KEY_PROPERTY_SPECIFIED

Static value DuplicateKeyPropertySpecified.

DUPLICATE_PROPERTIES_SPECIFIED

public static final TableErrorCode DUPLICATE_PROPERTIES_SPECIFIED

Static value DuplicatePropertiesSpecified.

ENTITY_ALREADY_EXISTS

public static final TableErrorCode ENTITY_ALREADY_EXISTS

Static value EntityAlreadyExists.

ENTITY_NOT_FOUND

public static final TableErrorCode ENTITY_NOT_FOUND

Static value EntityNotFound.

ENTITY_TOO_LARGE

public static final TableErrorCode ENTITY_TOO_LARGE

Static value EntityTooLarge.

FORBIDDEN

public static final TableErrorCode FORBIDDEN

Static value Forbidden.

INVALID_DUPLICATE_ROW

public static final TableErrorCode INVALID_DUPLICATE_ROW

Static value InvalidDuplicateRow.

INVALID_INPUT

public static final TableErrorCode INVALID_INPUT

Static value InvalidInput.

INVALID_VALUE_TYPE

public static final TableErrorCode INVALID_VALUE_TYPE

Static value InvalidValueType.

JSON_FORMAT_NOT_SUPPORTED

public static final TableErrorCode JSON_FORMAT_NOT_SUPPORTED

Static value JsonFormatNotSupported.

JSON_VERBOSE_FORMAT_NOT_SUPPORTED

public static final TableErrorCode JSON_VERBOSE_FORMAT_NOT_SUPPORTED

Static value JsonVerboseFormatNotSupported.

KEY_VALUE_TOO_LARGE

public static final TableErrorCode KEY_VALUE_TOO_LARGE

Static value KeyValueTooLarge.

MEDIA_TYPE_NOT_SUPPORTED

public static final TableErrorCode MEDIA_TYPE_NOT_SUPPORTED

Static value MediaTypeNotSupported.

METHOD_NOT_ALLOWED

public static final TableErrorCode METHOD_NOT_ALLOWED

Static value MethodNotAllowed.

NOT_IMPLEMENTED

public static final TableErrorCode NOT_IMPLEMENTED

Static value NotImplemented.

OPERATION_TIMED_OUT

public static final TableErrorCode OPERATION_TIMED_OUT

Static value OperationTimedOut.

OPERATOR_INVALID

public static final TableErrorCode OPERATOR_INVALID

Static value OperatorInvalid.

OUT_OF_RANGE_INPUT

public static final TableErrorCode OUT_OF_RANGE_INPUT

Static value OutOfRangeInput.

PARTITION_KEY_EQUALITY_COMPARISON_EXPECTED

public static final TableErrorCode PARTITION_KEY_EQUALITY_COMPARISON_EXPECTED

Static value PartitionKeyEqualityComparisonExpected.

PARTITION_KEY_NOT_SPECIFIED

public static final TableErrorCode PARTITION_KEY_NOT_SPECIFIED

Static value PartitionKeyNotSpecified.

PARTITION_KEY_PROPERTY_CANNOT_BE_UPDATED

public static final TableErrorCode PARTITION_KEY_PROPERTY_CANNOT_BE_UPDATED

Static value PartitionKeyPropertyCannotBeUpdated.

PARTITION_KEY_SPECIFIED_MORE_THAN_ONCE

public static final TableErrorCode PARTITION_KEY_SPECIFIED_MORE_THAN_ONCE

Static value PartitionKeySpecifiedMoreThanOnce.

PER_TABLE_IOPS_DECREMENT_LIMIT_REACHED

public static final TableErrorCode PER_TABLE_IOPS_DECREMENT_LIMIT_REACHED

Static value PerTableIOPSDecrementLimitReached.

PER_TABLE_IOPS_INCREMENT_LIMIT_REACHED

public static final TableErrorCode PER_TABLE_IOPS_INCREMENT_LIMIT_REACHED

Static value PerTableIOPSIncrementLimitReached.

PRIMARY_KEY_PROPERTY_IS_INVALID_TYPE

public static final TableErrorCode PRIMARY_KEY_PROPERTY_IS_INVALID_TYPE

Static value PrimaryKeyPropertyIsInvalidType.

PROPERTIES_NEED_VALUE

public static final TableErrorCode PROPERTIES_NEED_VALUE

Static value PropertiesNeedValue.

PROPERTY_NAME_INVALID

public static final TableErrorCode PROPERTY_NAME_INVALID

Static value PropertyNameInvalid.

PROPERTY_NAME_TOO_LONG

public static final TableErrorCode PROPERTY_NAME_TOO_LONG

Static value PropertyNameTooLong.

PROPERTY_VALUE_TOO_LARGE

public static final TableErrorCode PROPERTY_VALUE_TOO_LARGE

Static value PropertyValueTooLarge.

RESOURCE_NOT_FOUND

public static final TableErrorCode RESOURCE_NOT_FOUND

Static value TableNotFound.

SETTING_IOPS_FOR_A_TABLE_IN_PROVISIONING_NOT_ALLOWED

public static final TableErrorCode SETTING_IOPS_FOR_A_TABLE_IN_PROVISIONING_NOT_ALLOWED

Static value SettingIOPSForATableInProvisioningNotAllowed.

TABLE_ALREADY_EXISTS

public static final TableErrorCode TABLE_ALREADY_EXISTS

Static value TableAlreadyExists.

TABLE_BEING_DELETED

public static final TableErrorCode TABLE_BEING_DELETED

Static value TableBeingDeleted.

TABLE_HAS_NO_PROPERTIES

public static final TableErrorCode TABLE_HAS_NO_PROPERTIES

Static value TableHasNoProperties.

TABLE_HAS_NO_SUCH_PROPERTY

public static final TableErrorCode TABLE_HAS_NO_SUCH_PROPERTY

Static value TableHasNoSuchProperty.

TABLE_NOT_FOUND

public static final TableErrorCode TABLE_NOT_FOUND

Static value TableNotFound.

TOO_MANY_PROPERTIES

public static final TableErrorCode TOO_MANY_PROPERTIES

Static value TooManyProperties.

UPDATE_CONDITION_NOT_SATISFIED

public static final TableErrorCode UPDATE_CONDITION_NOT_SATISFIED

Static value UpdateConditionNotSatisfied.

X_METHOD_INCORRECT_COUNT

public static final TableErrorCode X_METHOD_INCORRECT_COUNT

Static value XMethodIncorrectCount.

X_METHOD_INCORRECT_VALUE

public static final TableErrorCode X_METHOD_INCORRECT_VALUE

Static value XMethodIncorrectValue.

X_METHOD_NOT_USING_POST

public static final TableErrorCode X_METHOD_NOT_USING_POST

Static value XMethodNotUsingPost.

Constructor Details

TableErrorCode

public TableErrorCode()

Creates an instance of TableErrorCode.

Method Details

fromString

public static TableErrorCode fromString(String name)

Returns the TableErrorCode constant with the provided name, or null if no TableErrorCode has the provided name.

Parameters:

name - The name of the error.

Returns:

The TableErrorCode value having the provided name.

Applies to