Update list sharing

Fix quite a variety of bugs with list sharing, mostly relating to ListShareGET not conforming to its contract
This commit is contained in:
NMerz
2020-11-30 12:16:29 -05:00
parent d8f722c4ac
commit be80129de6
8 changed files with 125 additions and 58 deletions

View File

@@ -51,7 +51,7 @@ public class UserGetter implements CallHandler {
if (foundUsers.size() != 1) {
System.out.println(foundUsers);
if (foundUsers.size() == 0) {
throw new InputMismatchException("Not user with given attribute (" + attributeToGet + ")");
throw new InputMismatchException("No user with given attribute when searching for (" + attributeToGet + ")");
}
throw new InputMismatchException("Found more than one user with supposedly unique attribute (" + attributeToGet + ")");
}