code: public static BigDecimal isBetweenExclusive (final BigDecimal aValue,
                                                 @Nonnull final Supplier <? extends String> aName,
                                                 @Nonnull final BigDecimal aLowerBoundExclusive,
                                                 @Nonnull final BigDecimal aUpperBoundExclusive)
    {
      notNull (aValue, aName);
      notNull (aLowerBoundExclusive, "LowerBoundInclusive");
      notNull (aUpperBoundExclusive, "UpperBoundInclusive");
      if (isEnabled ())
        if (aValue.compareTo (aLowerBoundExclusive) <= 0 || aValue.compareTo (aUpperBoundExclusive) >= 0)
          throw new IllegalArgumentException ("The value of '" +
                                              aName.get () +
                                              "' must be > " +
                                              aLowerBoundExclusive +
                                              " and < " +
                                              aUpperBoundExclusive +
                                              "! The current value is: " +
                                              aValue);
      return aValue;
    }
docs: Check if
  <code>nValue &gt; nLowerBoundInclusive &amp;&amp; nValue &lt; nUpperBoundInclusive</code>
  
  @param aValue
  Value
  @param aName
  Name
  @param aLowerBoundExclusive
  Lower bound
  @param aUpperBoundExclusive
  Upper bound
  @return The value