minor change

This commit is contained in:
Shreyas Zare
2018-10-13 11:50:54 +05:30
parent 85cbc30436
commit 7015e44ef6

View File

@@ -786,7 +786,7 @@ namespace DnsServerCore
set
{
if (value == null)
throw new NullReferenceException();
throw new ArgumentNullException();
if (!value.IsAuthoritative)
throw new ArgumentException("Blocked zone must be authoritative.");