code: public void activateOptions() {
      super.activateOptions();
  
      if (maxIndex < minIndex) {
        LogLog.warn(
          "MaxIndex (" + maxIndex + ") cannot be smaller than MinIndex ("
          + minIndex + ").");
        LogLog.warn("Setting maxIndex to equal minIndex.");
        maxIndex = minIndex;
      }
  
      if ((maxIndex - minIndex) > MAX_WINDOW_SIZE) {
        LogLog.warn("Large window sizes are not allowed.");
        maxIndex = minIndex + MAX_WINDOW_SIZE;
        LogLog.warn("MaxIndex reduced to " + String.valueOf(maxIndex) + ".");
      }
  
      PatternConverter itc = getIntegerPatternConverter();
  
      if (itc == null) {
        throw new IllegalStateException(
          "FileNamePattern [" + getFileNamePattern()
          + "] does not contain a valid integer format specifier");
      }
    }
docs: {@inheritDoc}