code: public static long randomLongLessThan(long maxExclusive) {
      checkArgument(
          maxExclusive > Long.MIN_VALUE, "Cannot produce long less than %s", Long.MIN_VALUE);
      return randomLong(Long.MIN_VALUE, maxExclusive);
    }
docs: Returns a random long that is less than the given long.
  
  @param maxExclusive the value that returned long must be less than
  @return the random long
  @throws IllegalArgumentException if maxExclusive is less than or equal to {@link
  Long#MIN_VALUE}