else if (firstElement instanceof lotus.domino.DateRange)
firstElementClass = lotus.domino.DateRange.class;
// Remark: Domino Java API doesn't accept any Vector of DateRanges (cf. DateRange.java), so the implementation
// here will work only with Vectors of size 1 (or Vectors of size >= 2000, when Mime Beaning is enabled).
else
throw new DataNotCompatibleException(firstElement.getClass() + " is not a supported data type");
for (Object o : dominoFriendly)
payload += getLotusPayload(o, firstElementClass);
if (payload > MAX_NATIVE_FIELD_SIZE) {
// the datatype is OK, but there's no way to store the data in the Document
throw new Domino32KLimitException();