private boolean noUsers(String mailServerId) throws EntityException { boolean check = false; int userNum = 0; try { userNum = cdao.checkUsersForMailServer(mailServerId); if (userNum == 0) { check = true; } } catch (DBAccessException ee) { throw new EntityException("Error checking Users for the Mail Server ", ee); } return check; }