code: private void verifyNumber(Number value, Number minimum, Number maximum) {
  
      if (minimum != null) {
        if (maximum != null) {
          assert ((value.doubleValue() >= minimum.doubleValue()) || (value.doubleValue() <= maximum.doubleValue()));
        } else {
          assert (value.doubleValue() >= minimum.doubleValue());
        }
      } else if (maximum != null) {
        assert (value.doubleValue() <= maximum.doubleValue());
      } else {
        throw new NlsNullPointerException("minimum & maximum");
      }
    }
docs: Verifies that the {@code value} is actually out of range.
  
  @param value is the number that is out of range.
  @param minimum is the minimum value allowed
  @param maximum is the maximum value allowed.