Throw exception for errors in EnrolleeSecurity::performOwnershipTransfer() 72/211872/2
authorSenthil Kumar G S <senthil.gs@samsung.com>
Tue, 30 Jul 2019 10:40:46 +0000 (16:10 +0530)
committerSudipto Bal <sudipto.bal@samsung.com>
Fri, 9 Aug 2019 12:55:27 +0000 (12:55 +0000)
commit812a121c5a2b95a8bc7d3e69e1fabac10b6001f2
tree6fbeee9393511e47ec7dbc82f7a5a1ea066c71d7
parentaa5d98f86a00f9577259aa420de68fcedfbfcaac
Throw exception for errors in EnrolleeSecurity::performOwnershipTransfer()

Current:
Returning ES_ERROR for all error cases doesn't let the caller know what went wrong,

Proposed:
Throw ESPlatformException with the actual OCStackResult for all error cases.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/551/commits/d7bf5d91b812d1cd3a62ab7d51e33d8101cf27a7
(cherry-picked from d7bf5d91b812d1cd3a62ab7d51e33d8101cf27a7)

Change-Id: I4b8f39a4dc749f2393908a02df68df251fded24c
Signed-off-by: Senthil Kumar G S <senthil.gs@samsung.com>
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
service/easy-setup/mediator/richsdk/src/EnrolleeSecurity.cpp