code: public void stopOnError(Exception ex) {
          this.cache.setSwapToDisk(false);
          stop(HTODDynacache.COMPLETE_CLEAR);
          close(!DELETE_IN_PROGRESS_FILE);
          Tr.error(tc, "DYNA0072E", new Object[] { this.cacheName, swapDirPath, ex.getMessage() });
      }
docs: Call this method to stop the LPBT.
  
  @param completeClear
  - boolean to select clear all invalidation buffers completely or not.