private static void throwIfBudgetNegative(double spend, BigDecimal budget, SystemName systemName) {
        if (budget.doubleValue() < 0) {
            throw new QuotaExceededException(quotaMessage("Please free up some capacity.", systemName, spend, budget, true));
        }
    }
Check that all clusters in the application do not exceed the quota max cluster size.
config-model/src/main/java/com/yahoo/vespa/model/application/validation/QuotaValidator.java