Throws error on `getProperties()` when the user specified is invalid

This commit is contained in:
Tristan B. Kildaire 2020-12-17 23:39:28 +02:00
parent 838e0a4931
commit 9fde618b4c
1 changed files with 5 additions and 0 deletions

View File

@ -235,6 +235,11 @@ public final class DClient
properties = split(propertyLine, ",");
}
/* If it didn't work (user specified invalid) */
else
{
throw new DClientException("Invalid user for get property");
}
return properties;
}