docs: int delValueSet(int type, Object id) {
          final String methodName = "delValueSet()";
          int returnCode = NO_EXCEPTION;
          Exception diskException = null;
          HashtableOnDisk cache_instance = null;
          HashtableOnDisk vshtod = null;
          try {
              rwLock.writeLock().lock();
              if (type == DEP_ID_DATA) {
                  cache_instance = dependency_cache;
              } else {
                  cache_instance = template_cache;
              }
              //if (this.testException) {
              //    throw new FileManagerException("*** Generate filemanager exception");
              //}
              Long vsinstid = (Long) cache_instance.get(id);
              if (vsinstid != null) {
                  //
                  // Existing instance.  Get it and clear it.  Can't think of a better way to do this.
                  //
                  long vsinstance = vsinstid.longValue();
                  FileManager filemgr = cache_instance.getFileManager();
                  if (vsinstance != -1) {
                      vshtod = HashtableOnDisk.getInstance(filemgr, valueset_rehash, vsinstance, !HashtableOnDisk.HAS_CACHE_VALUE, this);
                      vshtod.clear();
                      vshtod.close();
                      vshtod = null;
                      HashtableOnDisk.destroyInstance(filemgr, vsinstance);
                  }
                  cache_instance.remove(id);
              }
          } catch (FileManagerException ex) {
              this.diskCacheException = ex;
              diskException = ex;
              returnCode = DISK_EXCEPTION;
          } catch (HashtableOnDiskException ex) {
              this.diskCacheException = ex;
              diskException = ex;
              returnCode = DISK_EXCEPTION;
          } catch (IOException ex) {
              this.diskCacheException = ex;
              diskException = ex;
              returnCode = DISK_EXCEPTION;
          } catch (Exception ex) {
              returnCode = OTHER_EXCEPTION;
              diskException = ex;
          } finally {
              if (returnCode != NO_EXCEPTION) {
                  if (tc.isDebugEnabled())
                      Tr.debug(tc, methodName, "cacheName=" + this.cacheName + "\n Exception: " + ExceptionUtility.getStackTrace(diskException));
              }
              if (returnCode == DISK_EXCEPTION || returnCode == OTHER_EXCEPTION) {
                  com.ibm.ws.ffdc.FFDCFilter.processException(diskException, "com.ibm.ws.cache.HTODDynacache.delValueSet", "1811", this);
              }
              try {
                  if (vshtod != null) {
                      vshtod.close();
                  }
              } catch (Exception ex) {
                  com.ibm.ws.ffdc.FFDCFilter.processException(ex, "com.ibm.ws.cache.HTODDynacache.delValueSet", "1818", this);
              }
              rwLock.writeLock().unlock();
          }
  
          return returnCode;
      }