code: private void deletePolicy(String pid) throws GeneralException  {
          LOG.debug("Deleting policy " + pid);
  
          try {
              // in case the policy doesn't exist (corrupt policy index, failed to add because invalid, etc)
              m_policyIndex.deletePolicy(pid);
          } catch (PolicyIndexException e) {
              throw new GeneralException("Error deleting policy " + pid + " from policy index: " + e.getMessage(), e);
          }
      }
docs: Remove the specified policy from the cache
  @param pid
  @throws PolicyIndexException