private static String executeRemoveCommand(DataBaseManager dbManager, Command command) {
        List<String> args = command.getArgs();
        String tableName = args.get(0);
        String key = args.get(1);

        String msg = "";

        try {
            boolean modified = dbManager.removeByKey(tableName, key);
            if (modified) {
                msg = "row with key " + tableName + ":" + key + " removed";
            } else {
                msg = "no rows with key " + tableName + ":" + key;
            }
        } catch (DBUnavailabilityException e) {
            msg = e.getMessage();
        } catch (DataBaseRequestException e) {
            msg = e.getMessage();
        } catch (DataBaseTableException e) {
            msg = e.getMessage();
        }
        return msg;
    }