/** * Resend a file transfer which was previously failed. This only for 1-1 file transfer, an * exception is thrown in case of a file transfer to group. * * @throws RcsPermissionDeniedException * @throws RcsGenericException */ public void resendTransfer() throws RcsPermissionDeniedException, RcsGenericException { try { mTransferInf.resendTransfer(); } catch (Exception e) { RcsPermissionDeniedException.assertException(e); RcsUnsupportedOperationException.assertException(e); throw new RcsGenericException(e); } }
/** * Rejects file transfer invitation * * @throws RcsPersistentStorageException * @throws RcsPermissionDeniedException * @throws RcsGenericException */ public void rejectInvitation() throws RcsPersistentStorageException, RcsPermissionDeniedException, RcsGenericException { try { mTransferInf.rejectInvitation(); } catch (Exception e) { RcsUnsupportedOperationException.assertException(e); RcsPersistentStorageException.assertException(e); RcsPermissionDeniedException.assertException(e); throw new RcsGenericException(e); } }