diff options
author | Hyojung Jo <hj903.jo@samsung.com> | 2015-05-07 08:50:46 +0900 |
---|---|---|
committer | Hyojung Jo <hj903.jo@samsung.com> | 2015-05-07 13:27:47 +0900 |
commit | 84499f6a6d50e44de24fd24440ac25cae6969d79 (patch) | |
tree | f3da8dcac09e58ea875566efefe9b6db9113b454 | |
parent | cdef67ae332882afc24ceb75a82abbd602ff57ae (diff) | |
download | tv-app-contents-tizen.tar.gz tv-app-contents-tizen.tar.bz2 tv-app-contents-tizen.zip |
Added the exception handling codesubmit/tizen_tv/20150629.054201submit/tizen/20150511.014958accepted/tizen/tv/20150629.064503accepted/tizen/tv/20150511.042014tizenaccepted/tizen_tv
Change-Id: I13a5e35ae855c6dbdfb2c8575b788edbcd91dbb4
Signed-off-by: Hyojung Jo <hj903.jo@samsung.com>
-rw-r--r-- | src/AppContentCategoryImpl.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/AppContentCategoryImpl.cpp b/src/AppContentCategoryImpl.cpp index bbf1070..b38e5ba 100644 --- a/src/AppContentCategoryImpl.cpp +++ b/src/AppContentCategoryImpl.cpp @@ -58,7 +58,10 @@ bool CAppContentCategoryImpl::Create(CAppContentCategory *parent) if (!ac) break; - ac->Create((const char *)db.String(stmt, 0)); + if (!ac->Create((const char *)db.String(stmt, 0))) { + _ERR("AppContent create failed."); + break; + } m->elAppCategory = eina_list_append(m->elAppCategory, ac); } |