code: public static void notNull(final Object argument, final String name) {
      if (argument == null) {
        s_logger.error("Argument {} was null", name);
        throw new QuandlRuntimeException("Value " + name + " was null");
      }
    }
docs: Throws an exception if the argument is not null.
  
  @param argument the object to check
  @param name the name of the parameter