code: public static void isLessThan( int argument,
                                     int lessThanValue,
                                     String name ) {
          if (argument >= lessThanValue) {
              throw new IllegalArgumentException(CommonI18n.argumentMustBeLessThan.text(name, argument, lessThanValue));
          }
      }
docs: Check that the argument is less than the supplied value
  
  @param argument The argument
  @param lessThanValue the value that is to be used to check the value
  @param name The name of the argument
  @throws IllegalArgumentException If argument is not less than the supplied value