//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
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;