catch (Exception e) { throw new MemberDeleteException(e.getMessage(), e);
catch (MembershipNotFoundException eMSNF) { throw new MemberDeleteException(eMSNF.getMessage(), eMSNF); } catch (ModelException eM)                 { throw new MemberDeleteException(eM.getMessage(), eM);
  protected static MemberOf delImmediateMembership(    GrouperSession s, Owner o, Subject subj, Field f  )    throws  MemberDeleteException  {    try {      GrouperSessionValidator.validate(s);       // Who we're deleting      Member      m   = PrivilegeResolver.canViewSubject(s, subj);      Membership  imm = MembershipFinder.findMembershipByTypeNoPrivNoSession(        o, m, f, MembershipType.I      );      imm.setSession(s);      return MemberOf.delImmediate(s, o, imm, m);    }    catch (Exception e) {      throw new MemberDeleteException(e.getMessage(), e);    }   } // protected static void delImmediateMembership(s, o, subj, f)