Example #1
0
  /**
   * Returns true if delivery for this file has expired or false otherwise. Note: false means either
   * that delivery for this file has not yet expired, delivery has been successful, delivery
   * expiration has been cleared (see clearFileTransferDeliveryExpiration) or that this particular
   * file is not eligible for delivery expiration in the first place.
   *
   * @return boolean
   * @throws RcsPersistentStorageException
   * @throws RcsGenericException
   */
  public boolean isExpiredDelivery() throws RcsPersistentStorageException, RcsGenericException {
    try {
      return mTransferInf.isExpiredDelivery();

    } catch (Exception e) {
      RcsPersistentStorageException.assertException(e);
      throw new RcsGenericException(e);
    }
  }