private void minMaxCheck(String propName, int value, int minValue, int maxValue) {
    if (value < minValue) {
      throw new IllegalArgumentException(
          String.format(
              "Could not set \"%s\" to \"%s\" because its value can not be less than \"%s\".",

              propName, value, minValue));
    } else if (value > maxValue) {
      throw new IllegalArgumentException(
          String.format(
              "Could not set \"%s\" to \"%s\" because its value can not be greater than \"%s\".",
              propName, value, maxValue));
    }
  }
Provides an implementation of <code>DistributionConfig</code> that knows how to read the
configuration file.
<p>
Note that if you add a property to this interface, you should update the
{@link AbstractConfig#sameAs} method and the
{@link DistributionConfigImpl#DistributionConfigImpl(DistributionConfig) copy constructor}.
geode-core/src/main/java/org/apache/geode/distributed/internal/AbstractDistributionConfig.java