catch (Exception e) { throw new ModelException(e.getMessage(), e);
catch (GroupNotFoundException eGNF)         { throw new ModelException(eGNF.getMessage(), eGNF); } catch (InsufficientPrivilegeException eIP)  {  throw new ModelException(eIP.getMessage(), eIP); } catch (MemberNotFoundException eMNF)        { throw new ModelException(eMNF.getMessage(), eMNF);
  protected static Member canViewSubject(GrouperSession s, Subject subj)    throws  ModelException  {    try {      Member  m = MemberFinder.findBySubject(s, subj);      if (m.getSubjectType().equals(SubjectTypeEnum.valueOf("group"))) {        Subject who   = s.getSubject();        Group   what  = m.toGroup();        if (!canVIEW(what, who)) {          throw new InsufficientPrivilegeException(E.CANNOT_VIEW);        }      }      return m;    }    catch (Exception e) {      throw new ModelException(e.getMessage(), e);    }  } // protected static Member canViewSubject(s, subj)