ArgumentNullException -> ArgumentException

This commit is contained in:
Steve Sanderson
2017-11-09 10:30:52 -08:00
parent a16343681b
commit a83ec3a053

View File

@@ -44,7 +44,7 @@ namespace Microsoft.AspNetCore.SpaServices
{ {
if (string.IsNullOrEmpty(value.Value)) if (string.IsNullOrEmpty(value.Value))
{ {
throw new ArgumentNullException($"The value for {nameof(DefaultPage)} cannot be null or empty."); throw new ArgumentException($"The value for {nameof(DefaultPage)} cannot be null or empty.");
} }
_defaultPage = value; _defaultPage = value;