mirror of https://github.com/deavminet/libdnet.git
Throws error on `getProperties()` when the user specified is invalid
This commit is contained in:
parent
838e0a4931
commit
9fde618b4c
|
@ -235,6 +235,11 @@ public final class DClient
|
||||||
|
|
||||||
properties = split(propertyLine, ",");
|
properties = split(propertyLine, ",");
|
||||||
}
|
}
|
||||||
|
/* If it didn't work (user specified invalid) */
|
||||||
|
else
|
||||||
|
{
|
||||||
|
throw new DClientException("Invalid user for get property");
|
||||||
|
}
|
||||||
|
|
||||||
return properties;
|
return properties;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue