projects
/
platform
/
framework
/
native
/
appfw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59bd56e
)
N_SE-38636 : proper exception code
author
Young Ik Cho
<youngik.cho@samsung.com>
Thu, 16 May 2013 07:07:33 +0000
(16:07 +0900)
committer
Young Ik Cho
<youngik.cho@samsung.com>
Thu, 16 May 2013 07:07:33 +0000
(16:07 +0900)
Change-Id: Ibad20c2fd6278648c8388fbb769d98e1b51f2f9c
Signed-off-by: Young Ik Cho <youngik.cho@samsung.com>
src/app/FApp_Aul.cpp
patch
|
blob
|
history
diff --git
a/src/app/FApp_Aul.cpp
b/src/app/FApp_Aul.cpp
index
fe69d21
..
b416b33
100644
(file)
--- a/
src/app/FApp_Aul.cpp
+++ b/
src/app/FApp_Aul.cpp
@@
-135,9
+135,15
@@
_Aul::SendResult(bundle* b, appsvc_result_val res)
snprintf(tmp, 32, "%d", static_cast<int>(res));
appsvc_add_data(b, APP_SVC_K_RES_VAL, tmp);
- int aul_ret = aul_send_service_result(b);
+
const
int aul_ret = aul_send_service_result(b);
- return GetConvertedResult(aul_ret, "SendResult");
+ result r = GetConvertedResult(aul_ret, "SendResult");
+ if (r == E_INVALID_ARG)
+ {
+ SysLog(NID_APP, "Converting internal exception to E_MAX_EXCEEDED.");
+ r = E_MAX_EXCEEDED;
+ }
+ return r;
}