public static <T> void exclusiveBetween(final T start, final T end, final Comparable<T> value) {
        // TODO when breaking BC, consider returning value
        if (value.compareTo(start) <= 0 || value.compareTo(end) >= 0) {
            throw new IllegalArgumentException(StringUtils.simpleFormat(DEFAULT_EXCLUSIVE_BETWEEN_EX_MESSAGE, value, start, end));
        }
    }
public static < T > void exclusiveBetween ( final T start , final T end , final Comparable < T > value ) { if ( value . compareTo ( start ) <= 0 || value . compareTo ( end ) >= 0 ) { throw new IllegalArgumentException ( StringUtils . simpleFormat ( DEFAULT_EXCLUSIVE_BETWEEN_EX_MESSAGE , value , start , end ) ) ; } }
<p>Validate that the specified argument object fall between the two
exclusive values specified; otherwise, throws an exception.</p>

<pre>Validate.exclusiveBetween(0, 2, 1);</pre>

@param <T> the type of the argument object
@param start  the exclusive start value, not null
@param end  the exclusive end value, not null
@param value  the object to validate, not null
@throws IllegalArgumentException if the value falls outside the boundaries
@see #exclusiveBetween(Object, Object, Comparable, String, Object...)

@since 3.0