Small fix

This commit is contained in:
M66B 2019-09-22 13:42:39 +02:00
parent 33764016bc
commit f84100d9e1
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ public class EmailProvider {
lookup.getResult() == Lookup.TYPE_NOT_FOUND)
throw new UnknownHostException(name);
else
throw new IllegalArgumentException(lookup.getErrorString());
throw new UnknownHostException(lookup.getErrorString());
if (records.length == 0)
throw new UnknownHostException(name);