16 references to ConfigurationException
Microsoft.TemplateEngine.Edge (16)
Constraints\ConstraintsExtensions.cs (9)
24return new[] { token.GetValue<string>() ?? throw new ConfigurationException(string.Format(LocalizableStrings.Constraint_Error_ArgumentHasEmptyString, args)) }; 33throw new ConfigurationException(string.Format(LocalizableStrings.Constraint_Error_ArgumentHasEmptyString, args)); 39throw new ConfigurationException(string.Format(LocalizableStrings.Constraint_Error_ArgumentHasEmptyString, args)); 61throw new ConfigurationException(string.Format(LocalizableStrings.Constraint_Error_InvalidJsonArray_Objects, args)); 107throw new ConfigurationException(string.Format(LocalizableStrings.Constraint_Error_InvalidVersion, versionString)); 117throw new ConfigurationException(LocalizableStrings.Constraint_Error_ArgumentsNotSpecified); 130return token ?? throw new ConfigurationException(string.Format(LocalizableStrings.Constraint_Error_InvalidJson, args)); 137throw new ConfigurationException(string.Format( 146throw new ConfigurationException(string.Format(LocalizableStrings.Constraint_Error_ArrayHasNoObjects, args));
Constraints\HostConstraint.cs (1)
81throw new ConfigurationException(string.Format(LocalizableStrings.HostConstraint_Error_MissingMandatoryProperty, jObj, "hostname"));
Constraints\OSConstraint.cs (1)
66throw new ConfigurationException(string.Format(LocalizableStrings.OSConstraint_Error_InvalidOSName, arg, supportedValues));
Constraints\SdkVersionConstraintFactory.cs (3)
98throw new ConfigurationException(LocalizableStrings.SdkConstraint_Error_MissingProvider); 103throw new ConfigurationException( 121throw new ConfigurationException(string.Format(LocalizableStrings.SdkConstraint_Error_InvalidVersion, version));
Constraints\WorkloadConstraintFactory.cs (2)
92throw new ConfigurationException(LocalizableStrings.WorkloadConstraint_Error_MissingProvider); 97throw new ConfigurationException(