105106107108109110111112
public void registerUser(String user, String password, int layout) throws AlreadyExistentUserException { if (usersController.getUserByUser(user) == null) { addUser(user, password, layout); } else { throw new AlreadyExistentUserException(); } }