docs: public Set<CmsGroup> getRoleGroups(CmsRequestContext context, CmsRole role, boolean directUsersOnly)
      throws CmsException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          try {
              return m_driverManager.getRoleGroups(dbc, role.getGroupName(), directUsersOnly);
          } catch (Exception e) {
              dbc.report(null, Messages.get().container(Messages.ERR_GET_ROLE_GROUPS_1, role.toString()), e);
              return null; // will never be executed
          } finally {
              dbc.clear();
          }
      }