catch (Exception e) { throw new MemberAddException(e.getMessage(), e);
catch (HibernateException eH) { throw new MemberAddException(eH.getMessage(), eH); } catch (ModelException eM)     { throw new MemberAddException(eM.getMessage(), eM);
  protected static void addImmediateMembership(    GrouperSession s, Owner o, Subject subj, Field f  )    throws  MemberAddException  {    try {      GrouperSessionValidator.validate(s);      Member      m   = PrivilegeResolver.canViewSubject(s, subj);      Membership  imm = new Membership(s, o, m, f);      MemberOf    mof = MemberOf.addImmediate(s, o, imm, m);      HibernateHelper.saveAndDelete(mof.getSaves(), mof.getDeletes());      EL.addEffMembers(s, o, subj, f, mof.getEffSaves());    }    catch (Exception e) {      throw new MemberAddException(e.getMessage(), e);    }      } // protected static void addImmediateMembership(s, o, subj, f)