* @exception E_INVALID_ARG The information of the download request is invalid.
* @exception E_ILLEGAL_ACCESS Access to the path of the download request is denied due to insufficient permission.
* @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
+ * @exception E_USER_NOT_CONSENTED The user blocks an application from calling this method.
* @exception E_SYSTEM The method cannot proceed due to a severe system error.
*/
result Start(const DownloadRequest& request, RequestId& reqId);
SysAssertf(__pDownloadManagerImpl != null, "Not yet constructed. Construct() should be called before use.\n");
result r = _AccessController::CheckUserPrivilege(_PRV_DOWNLOAD);
- SysTryReturnResult(NID_CNT, r == E_SUCCESS, E_PRIVILEGE_DENIED,
- "The application does not have the privilege to call this method.");
+ r = TransExceptionsExclusive(r, E_PRIVILEGE_DENIED, E_USER_NOT_CONSENTED);
+ SysTryReturnResult(NID_CNT, r == E_SUCCESS, r,
+ "The application is not permitted to call this method.");
return __pDownloadManagerImpl->Start(request, reqId);
}