docs: public int incrementCounter(CmsRequestContext context, String name) throws CmsException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          try {
              return m_driverManager.incrementCounter(dbc, name);
          } catch (Exception e) {
              dbc.report(null, Messages.get().container(Messages.ERR_INCREMENT_COUNTER_1, name), e);
              return -1; // will never be reached
          } finally {
              dbc.clear();
          }
      }