From: Hokwon Song Date: Wed, 27 Mar 2013 02:26:54 +0000 (+0900) Subject: Changed exception of Vibrator::Stop for device op failed. X-Git-Tag: accepted/tizen_2.1/20130425.034849~217 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=60938efc8fdbfc4a9e472384a3816782d78236e6;p=platform%2Fframework%2Fnative%2Fappfw.git Changed exception of Vibrator::Stop for device op failed. Change-Id: I973ea70a66df91b44cf161b489529095ad9737c9 Signed-off-by: Hokwon Song --- diff --git a/src/system/FSys_VibratorImpl.cpp b/src/system/FSys_VibratorImpl.cpp index 5dfdba5..dffe91e 100644 --- a/src/system/FSys_VibratorImpl.cpp +++ b/src/system/FSys_VibratorImpl.cpp @@ -168,7 +168,7 @@ _VibratorImpl::Stop(void) SysTryReturnResult(NID_SYS, __handle != null, E_FAILURE, "_VibratorImpl was not constructed."); int deviceResult = haptic_stop_all_effects(__handle); - SysTryReturnResult(NID_SYS, deviceResult == HAPTIC_ERROR_NONE,E_SYSTEM, + SysTryReturnResult(NID_SYS, deviceResult == HAPTIC_ERROR_NONE,E_DEVICE_FAILED, "[E_SYSTEM] Vibration stop operation has failed. [result:%d]", deviceResult); SysLog(NID_SYS, "vibrator stopped handle = %d", __handle); __effectHandle = null;