Fix wrong exception handling 74/279574/4
authorHwankyu Jhun <h.jhun@samsung.com>
Fri, 12 Aug 2022 01:04:35 +0000 (10:04 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 12 Aug 2022 02:48:40 +0000 (11:48 +0900)
commit9b0c4894604883067240417d4549a3cdfae58d9b
treea8104389e47f11895212e753de396fc4726550c6
parent6331cc9aefd54a61a2713eee44044c44483741f4
Fix wrong exception handling

If the AppRequest() is not used to send the request, the result value
has to be converted using the aul_error_convert().
While creating the LocalizedInfo instance if the locale is empty, we
throw the exception. The previous implementation, AUL only checks whether
the locale is empty or not.

Change-Id: I6c25e1e9c415d6dc3e3be18862f34c88da2df980
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
aul/component/localized_info.cc
src/aul_comp_context.cc
src/aul_comp_info.cc