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;
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);