code: public static void noNullElements(Collection<?> collection, String message) {
          Validate.notNull(collection);
          for (Object element : collection) {
              if (element == null) {
                  throw new IllegalArgumentException(message);
              }
          }
      }
docs: <p>Validate that the specified argument collection is neither
  <code>null</code> nor contains any elements that are <code>null</code>;
  otherwise throwing an exception with the specified message.
  
  <pre>Validate.noNullElements(myCollection, "The collection contains null elements");</pre>
  
  <p>If the collection is <code>null</code>, then the message in the exception
  is &quot;The validated object is null&quot;.</p>
  
  
  @param collection  the collection to check
  @param message  the exception message if the collection has
  @throws IllegalArgumentException if the collection is <code>null</code> or
  an element in the collection is <code>null</code>