code: public static <E> void notNullOrEmpty(final E[] argument, final String name) {
      if (argument == null) {
        s_logger.error("Argument {} was null", name);
        throw new QuandlRuntimeException("Value " + name + " was null");
      } else if (argument.length == 0) {
        s_logger.error("Argument {} was empty array", name);
        throw new QuandlRuntimeException("Value " + name + " was empty array");
      }
    }
docs: Throws an exception if the array argument is not null or empty.
  
  @param <E> type of array
  @param argument the object to check
  @param name the name of the parameter