Class OperationFailedException

All Implemented Interfaces:
Serializable

public class OperationFailedException extends DynamoSimplifiedException
Thrown when a DynamoDB operation fails due to a service-side error.

Wraps SDK exceptions such as ProvisionedThroughputExceededException, ResourceNotFoundException, InternalServerErrorException, and DynamoDbException. The original SDK exception is available via Throwable.getCause().

See Also:
  • Constructor Details

    • OperationFailedException

      public OperationFailedException(@NonNull String operation, @Nullable String tableName, @NonNull Throwable cause)
      Wraps an SDK DynamoDbException with a descriptive message.
      Parameters:
      operation - the operation being performed (e.g., "Query", "PutItem")
      tableName - the table name, or null if not applicable
      cause - the SDK exception