Table of Contents

Class DuplicateItemException

Namespace
Amazon.DynamoDBv2.Model
Assembly
AWSSDK.DynamoDBv2.dll

There was an attempt to insert an item with the same primary key as an item that already exists in the DynamoDB table.

public class DuplicateItemException : AmazonDynamoDBException
Inheritance
DuplicateItemException

Constructors

DuplicateItemException(Exception)

Construct instance of DuplicateItemException

public DuplicateItemException(Exception innerException)

Parameters

innerException Exception

DuplicateItemException(string)

Constructs a new DuplicateItemException with the specified error message.

public DuplicateItemException(string message)

Parameters

message string

Describes the error encountered.

DuplicateItemException(string, ErrorType, string, string, HttpStatusCode)

Construct instance of DuplicateItemException

public DuplicateItemException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)

Parameters

message string
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode

DuplicateItemException(string, Exception)

Construct instance of DuplicateItemException

public DuplicateItemException(string message, Exception innerException)

Parameters

message string
innerException Exception

DuplicateItemException(string, Exception, ErrorType, string, string, HttpStatusCode)

Construct instance of DuplicateItemException

public DuplicateItemException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)

Parameters

message string
innerException Exception
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode