docs: @Override
      public <T> T searchForObject (Name base, String filter, SearchControls searchControls, ContextMapper<T> mapper) {
          List<T> result = search(base, filter, searchControls, mapper);
  
          if (result.size() == 0) {
              throw new EmptyResultDataAccessException(1);
          }
          else if (result.size() != 1) {
              throw new IncorrectResultSizeDataAccessException(1, result.size());
          }
  
          return result.get(0);
      }