} if(model.isDefaultGroup(model.getCurrentGroupID())) { view.showErrorMessage("Cannot remove user from group when it " + "is user\'s default group."); return;
    public void removeUser() {        try {            String selectedUser = view.getSelectedMember();            if (selectedUser == null) {                view.showErrorMessage("Please select a user to remove.");                return;            }            if (!model.findUserByName(selectedUser)) {                return;            }            String groupSelected = view.getSelectedGroup();            if (groupSelected == null) {                view                        .showErrorMessage("Please select a group to remove from user.");                return;            }            if (!model.findGroupByName(groupSelected)) {                return;            }            model.removeGroupFromUser(model.getCurrentGroupID());            view.setGroupDetails(model.getCurrentGroup());            view.refreshMembershipList();        } catch (Exception e) {            handleException(e, "save current group");        }    }