code: public static void checkArgument(final boolean condition, final String message, final Object... parameters) {
          if (!condition) {
              throw new IllegalArgumentException(format(message, parameters));
          }
      }
docs: Throws an {@link IllegalArgumentException} with formatted message if
  condition is not met.
  
  @param condition
  a boolean condition that must be <code>true</code> to pass
  @param message
  text to use as exception message
  @param parameters
  optional parameters used in
  {@link String#format(String, Object...)}