From: jisun10.lee Date: Thu, 11 Apr 2013 08:37:34 +0000 (+0900) Subject: Fix exception error regarding N_SE-33815 X-Git-Tag: accepted/tizen_2.1/20130425.033138~298 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30328b07e21bdadc3c1c43bb47dd18d34f352837;p=framework%2Fosp%2Fuifw.git Fix exception error regarding N_SE-33815 Change-Id: I37cf4688015e7cdc9a9c1f4ce674f3e80b1bf310 Signed-off-by: jisun10.lee --- diff --git a/src/ui/animations/FUiAnim_AnimationManager.cpp b/src/ui/animations/FUiAnim_AnimationManager.cpp index a7d76e5..5b0581b 100644 --- a/src/ui/animations/FUiAnim_AnimationManager.cpp +++ b/src/ui/animations/FUiAnim_AnimationManager.cpp @@ -326,7 +326,7 @@ _AnimationManager::AddAnimation(VisualElement& target, const Tizen::Base::String if (pKeyName != null && pKeyName->IsEmpty() == false) { - SysTryReturnResult(NID_UI_ANIM, (DoesAnimationExist(target, *pKeyName) == false), E_INVALID_ARG, "Invalid argument(s) is used. Animation with keyName exists. key name = %ls", pKeyName->GetPointer()); + SysTryReturnResult(NID_UI_ANIM, (DoesAnimationExist(target, *pKeyName) == false), E_OBJ_ALREADY_EXIST, "Animation with keyName already exists. key name = %ls", pKeyName->GetPointer()); } result r = E_SUCCESS; @@ -553,11 +553,11 @@ CATCH: int _AnimationManager::BeginGroupTransaction(VisualElement& target, const Tizen::Base::String* pKeyName, VisualElementAnimation& animation) { - SysTryReturn(NID_UI_ANIM, (CreateCurrentTransactionIfNeeded() == true), -1, E_SYSTEM, "A system error has been occurred. Current transaction is null."); + SysTryReturn(NID_UI_ANIM, (CreateCurrentTransactionIfNeeded() == true), -1, E_SYSTEM, "[E_SYSTEM] A system error has been occurred. Current transaction is null."); if (pKeyName != null && pKeyName->IsEmpty() == false) { - SysTryReturn(NID_UI_ANIM, (DoesAnimationExist(target, *pKeyName) == false), -1, E_INVALID_ARG, "[E_INVALID_ARG] Invalid argument(s) is used. Animation with keyName exists."); + SysTryReturn(NID_UI_ANIM, (DoesAnimationExist(target, *pKeyName) == false), -1, E_OBJ_ALREADY_EXIST, "[E_OBJ_ALREADY_EXIST] Animation with keyName already exists. key name = %ls", pKeyName->GetPointer()); } _AnimationGroupNode* pNode = new (std::nothrow) _AnimationGroupNode(target, pKeyName, animation);