Class IdempotencyItemAlreadyExistsException
Exception thrown when trying to store an item which already exists.
Implements
Inherited Members
Namespace: AWS.Lambda.Powertools.Idempotency.Exceptions
Assembly: AWS.Lambda.Powertools.Idempotency.dll
Syntax
public class IdempotencyItemAlreadyExistsException : Exception, ISerializable
Constructors
IdempotencyItemAlreadyExistsException()
Creates a new IdempotencyItemAlreadyExistsException
Declaration
public IdempotencyItemAlreadyExistsException()
IdempotencyItemAlreadyExistsException(string)
Initializes a new instance of the Exception class with a specified error message.
Declaration
public IdempotencyItemAlreadyExistsException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message that describes the error. |
IdempotencyItemAlreadyExistsException(string, Exception)
Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public IdempotencyItemAlreadyExistsException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
string | message | The error message that explains the reason for the exception. |
Exception | innerException | The exception that is the cause of the current exception, or a null reference ( |