docs: public void removeDeletedResource(CmsDbContext dbc, String resourceName) throws CmsException {
  
          try {
              m_driverManager.getVfsDriver(dbc).readResource(dbc, dbc.currentProject().getUuid(), resourceName, false);
              throw new CmsLockException(
                  Messages.get().container(
                      Messages.ERR_REMOVING_UNDELETED_RESOURCE_1,
                      dbc.getRequestContext().removeSiteRoot(resourceName)));
          } catch (CmsVfsResourceNotFoundException e) {
              // ok, ignore
          }
          unlockResource(resourceName, true);
          unlockResource(resourceName, false);
      }