/** * Accepts file transfer invitation * * @throws RcsPermissionDeniedException * @throws RcsPersistentStorageException * @throws RcsGenericException */ public void acceptInvitation() throws RcsPermissionDeniedException, RcsPersistentStorageException, RcsGenericException { try { mTransferInf.acceptInvitation(); } catch (Exception e) { RcsUnsupportedOperationException.assertException(e); RcsPermissionDeniedException.assertException(e); RcsPersistentStorageException.assertException(e); throw new RcsGenericException(e); } }