From 9ff91085c81574e2c1f15faa751548ba91bc1706 Mon Sep 17 00:00:00 2001 From: hasuniea Date: Wed, 17 Feb 2016 17:54:52 +0530 Subject: [PATCH] refactored code issue --- .../device/mgt/mobile/impl/android/AndroidDeviceManager.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/android/AndroidDeviceManager.java b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/android/AndroidDeviceManager.java index 2764df3c8e..9ea888a98c 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/android/AndroidDeviceManager.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/android/AndroidDeviceManager.java @@ -104,8 +104,7 @@ public class AndroidDeviceManager implements DeviceManager { "Error occurred while retrieving the Registry instance : ", e); } catch (RegistryException e) { throw new DeviceManagementException( - "Error occurred while persisting the Registry resource of Android Configuration : " - + e.getMessage(), e); + "Error occurred while persisting the Registry resource of Android Configuration : ", e); } catch (JAXBException e) { throw new DeviceManagementException( "Error occurred while parsing the Android configuration : ", e);