From 9aee2a0b1cfcb4a5d78191af45cdf0f33ec06acd Mon Sep 17 00:00:00 2001 From: "jaewon7.cho" Date: Tue, 2 Apr 2013 23:42:34 +0900 Subject: [PATCH] Add E_OBJ_NOT_FOUND exception to Container:GetControl() function Change-Id: I88e3ed70da796dd1293cc5336f7e0676180b20cd Signed-off-by: jaewon7.cho --- src/ui/FUi_ContainerImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/FUi_ContainerImpl.cpp b/src/ui/FUi_ContainerImpl.cpp index 6871ed1..5c1e698 100755 --- a/src/ui/FUi_ContainerImpl.cpp +++ b/src/ui/FUi_ContainerImpl.cpp @@ -229,7 +229,7 @@ _ContainerImpl::RemoveControl(_ControlImpl* pChild, bool deallocate) } else { - SysTryReturn(NID_UI, pChild, E_OBJ_NOT_FOUND, E_OBJ_NOT_FOUND, "[E_OBJ_NOT_FOUND] The control is not a child of this container."); + SysTryReturn(NID_UI, pChild, E_INVALID_ARG, E_INVALID_ARG, "[E_INVALID_ARG] The specified child is not constructed."); r = RemoveChild(pChild, deallocate); SysTryReturn(NID_UI, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r)); } -- 2.7.4