public static void isNotGreaterThan ( int argument , int notGreaterThanValue , String name ) { if ( argument > notGreaterThanValue ) { throw new IllegalArgumentException ( CommonI18n . argumentMayNotBeGreaterThan . text ( name , argument , notGreaterThanValue ) ) ; } }
Check that the argument is not greater than the supplied value