docs: public static void validateRecovery(Exception ex, CxxLanguage language) {
      Optional<Boolean> recovery = language.IsRecoveryEnabled();
      if (recovery.isPresent() && recovery.get()) {
        return;
      }
      LOG.info("Recovery is disabled, failing analysis : '{}'", ex.toString());
      throw new IllegalStateException(ex.getMessage(), ex.getCause());
    }