21 instantiations of NuGetLicenseExpressionParsingException
NuGet.Packaging (21)
Licenses\NuGetLicense.cs (6)
56
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_DeprecatedIdentifier, licenseIdentifier));
68
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_DeprecatedIdentifier, licenseIdentifier));
103
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_IllegalUnlicensedOperator));
109
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_UnexpectedIdentifier, licenseIdentifier));
118
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_LicenseInvalidCharacters, licenseIdentifier));
121
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_LicenseIdentifierIsException, licenseIdentifier));
Licenses\NuGetLicenseException.cs (3)
39
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_DeprecatedIdentifier, exceptionIdentifier));
45
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_ExceptionIdentifierIsLicense, exceptionIdentifier));
49
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidExceptionIdentifier, exceptionIdentifier));
Licenses\NuGetLicenseExpressionParser.cs (12)
50
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value));
59
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value));
67
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value));
83
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_MismatchedParentheses));
92
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value));
109
throw new
NuGetLicenseExpressionParsingException
("Should not happen. File a bug with repro steps on NuGet/Home if seen.");
123
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_MismatchedParentheses));
132
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidExpression));
147
throw new
NuGetLicenseExpressionParsingException
(e.Message, e);
159
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidCharacters, expression));
175
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidExpression));
206
throw new
NuGetLicenseExpressionParsingException
(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidExpression));
19 references to NuGetLicenseExpressionParsingException
NuGet.Build.Tasks.Pack (1)
PackTaskLogic.cs (1)
289
catch (
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>
141
catch (
NuGetLicenseExpressionParsingException
)
NuspecReader.cs (1)
507
catch (
NuGetLicenseExpressionParsingException
e)
PackageCreation\Authoring\ManifestReader.cs (1)
224
catch (
NuGetLicenseExpressionParsingException
e)
NuGet.Protocol (1)
Model\PackageSearchMetadata.cs (1)
196
catch (
NuGetLicenseExpressionParsingException
e)