protected static void assertArgument(final boolean validArg,final String message,final Object... args){
  if (!validArg) {
    throw new IllegalArgumentException(String.format(message,args));
  }
}

protected static void assertArgument ( final boolean validArg , final String message , final Object ... args ) { if ( ! validArg ) { throw new IllegalArgumentException ( String . format ( message , args ) ) ; } }
asserts the argument is valid , as determined by the caller passing the result of an evaluated expression to this assertion .
