From 5690dec4b74dc3e63bedd9e52be7d2adb7b79fc1 Mon Sep 17 00:00:00 2001 From: hasuniea Date: Wed, 17 Feb 2016 18:00:28 +0530 Subject: [PATCH] refactored code issues --- .../device/mgt/mobile/impl/windows/WindowsDeviceManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/windows/WindowsDeviceManager.java b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/windows/WindowsDeviceManager.java index 531be5c23b..6afb793b0b 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/windows/WindowsDeviceManager.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/windows/WindowsDeviceManager.java @@ -134,8 +134,7 @@ public class WindowsDeviceManager implements DeviceManager { "Error occurred while parsing the Windows configuration : ", e); } catch (RegistryException e) { throw new DeviceManagementException( - "Error occurred while retrieving the Registry resource of Windows configuration : " + - e.getMessage(), e); + "Error occurred while retrieving the Registry resource of Windows configuration : ", e); } }