code: public static void validateStrongCounterBounds(long lowerBound, long initialValue, long upperBound) {
        if (lowerBound > initialValue || initialValue > upperBound) {
           throw log.invalidInitialValueForBoundedCounter(lowerBound, upperBound, initialValue);
        } else if (lowerBound == upperBound) {
           throw log.invalidSameLowerAndUpperBound(lowerBound, upperBound);
        }
     }
docs: Validates the lower and upper bound for a strong counter.
  <p>
  It throws a {@link CounterConfigurationException} is not valid.
  
  @param lowerBound   The counter's lower bound value.
  @param initialValue The counter's initial value.
  @param upperBound   The counter's upper bound value.
  @throws CounterConfigurationException if the upper or lower bound aren't valid.