21 instantiations of NuGetLicenseExpressionParsingException
NuGet.Packaging (21)
Licenses\NuGetLicense.cs (6)
56throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_DeprecatedIdentifier, licenseIdentifier)); 68throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_DeprecatedIdentifier, licenseIdentifier)); 103throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_IllegalUnlicensedOperator)); 109throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_UnexpectedIdentifier, licenseIdentifier)); 118throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_LicenseInvalidCharacters, licenseIdentifier)); 121throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_LicenseIdentifierIsException, licenseIdentifier));
Licenses\NuGetLicenseException.cs (3)
39throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_DeprecatedIdentifier, exceptionIdentifier)); 45throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_ExceptionIdentifierIsLicense, exceptionIdentifier)); 49throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidExceptionIdentifier, exceptionIdentifier));
Licenses\NuGetLicenseExpressionParser.cs (12)
50throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value)); 59throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value)); 67throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value)); 83throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_MismatchedParentheses)); 92throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value)); 109throw new NuGetLicenseExpressionParsingException("Should not happen. File a bug with repro steps on NuGet/Home if seen."); 123throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_MismatchedParentheses)); 132throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidExpression)); 147throw new NuGetLicenseExpressionParsingException(e.Message, e); 159throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidCharacters, expression)); 175throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidExpression)); 206throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidExpression));
19 references to NuGetLicenseExpressionParsingException
NuGet.Build.Tasks.Pack (1)
PackTaskLogic.cs (1)
289catch (NuGetLicenseExpressionParsingException e)
NuGet.Packaging (17)
Licenses\NuGetLicense.cs (1)
45/// <exception cref="NuGetLicenseExpressionParsingException">If the identifier is deprecated, contains invalid characters or is an exception identifier.</exception>
Licenses\NuGetLicenseException.cs (1)
29/// <exception cref="NuGetLicenseExpressionParsingException">If the identifier is deprecated, is a license or simply does not exist.</exception>
Licenses\NuGetLicenseExpression.cs (6)
27/// <exception cref="NuGetLicenseExpressionParsingException">If the expression is empty or null.</exception> 28/// <exception cref="NuGetLicenseExpressionParsingException">If the expression has invalid characters</exception> 29/// <exception cref="NuGetLicenseExpressionParsingException">If the expression itself is invalid. Example: MIT OR OR Apache-2.0, or the MIT or Apache-2.0, because the expressions are case sensitive.</exception> 30/// <exception cref="NuGetLicenseExpressionParsingException">If the expression's brackets are mismatched.</exception> 31/// <exception cref="NuGetLicenseExpressionParsingException">If the licenseIdentifier is deprecated.</exception> 32/// <exception cref="NuGetLicenseExpressionParsingException">If the exception identifier is deprecated.</exception>
Licenses\NuGetLicenseExpressionParser.cs (7)
22/// <exception cref="NuGetLicenseExpressionParsingException">If the expression is empty or null.</exception> 23/// <exception cref="NuGetLicenseExpressionParsingException">If the expression has invalid characters</exception> 24/// <exception cref="NuGetLicenseExpressionParsingException">If the expression itself is invalid. Example: MIT OR OR Apache-2.0, or the MIT or Apache-2.0, because the expressions are case sensitive.</exception> 25/// <exception cref="NuGetLicenseExpressionParsingException">If the expression's brackets are mismatched.</exception> 26/// <exception cref="NuGetLicenseExpressionParsingException">If the licenseIdentifier is deprecated.</exception> 27/// <exception cref="NuGetLicenseExpressionParsingException">If the exception identifier is deprecated.</exception> 141catch (NuGetLicenseExpressionParsingException)
NuspecReader.cs (1)
507catch (NuGetLicenseExpressionParsingException e)
PackageCreation\Authoring\ManifestReader.cs (1)
224catch (NuGetLicenseExpressionParsingException e)
NuGet.Protocol (1)
Model\PackageSearchMetadata.cs (1)
196catch (NuGetLicenseExpressionParsingException e)