public static void ensureSmaller(String smallDescription, int small, String largeDescription, int large) {
        if (small >= large) {
            throw new IllegalArgumentException(smallDescription + " is " + small + " but should be " +
                                               "less than " + largeDescription + " " + large);
        }
    }
Throws an IllegalArgumentException if the first argument is not strictly
smaller than the second argument

@param smallDescription description of the smallest argument
@param small the smallest argument
@param largeDescription description of the lergest argument
@param large the largest argument
vespajlib/src/main/java/com/yahoo/protect/Validator.java