docs: public int writeTemplate(String template, ValueSet vs) {
          int returnCode = htod.writeTemplate(template, vs);
          if (returnCode == HTODDynacache.DISK_EXCEPTION) {
              stopOnError(this.htod.diskCacheException);
          }
          return returnCode;
      }