public static BigDecimal between(BigDecimal value, BigDecimal minValue, BigDecimal maxValue) {
        return between(value, DEFAULT_NAME, minValue, maxValue);
    }
Checks if the given {@code value} is between {@code minValue} and
{@code maxValue} *exclusive* and throws a customized
{@link IllegalArgumentException} if it is NOT.

@param value    the value to check
@param minValue minimum value to compare with
@param maxValue maximum value to compare with
@return the exact same value
@throws IllegalArgumentException if the {@code value} is NOT between
                                 {@code minValue} and {@code maxValue}
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseChecker.java