}
}
if (serverError == null) {
// NXCM-4165: all configured servers are reachable, hard evidence the user does not exist.
throw new NoSuchLdapUserException(userId);
}
else {
// NXCM-4165: report 'upstream' when a server was down, we need to trigger UserNotFoundTransientException
// because we cannot be sure it did not have the user
throw new LdapDAOException("Failed to find user: " + userId + ", we could not connect to all servers.",