Removed unused anti corruption code

This commit is contained in:
BONNEVILLE Geoffroy
2018-06-18 15:39:01 +02:00
parent b1ded11fa5
commit e9601e8d13
9 changed files with 26 additions and 67 deletions

View File

@@ -50,7 +50,7 @@ namespace ModernKeePass.Services
case ProductPurchaseStatus.AlreadyPurchased:
return (int) PurchaseResult.AlreadyPurchased;
default:
throw new ArgumentOutOfRangeException(nameof(purchaseResults.Status));
throw new IndexOutOfRangeException("Purchase results status does not have a valid value");
}
}