|
|
@ -49,7 +49,7 @@ public class WindowsDeviceManagerService implements DeviceManagerService {
|
|
|
|
status = MobileDeviceManagementDAOFactory.getMobileDeviceDAO().addMobileDevice(
|
|
|
|
status = MobileDeviceManagementDAOFactory.getMobileDeviceDAO().addMobileDevice(
|
|
|
|
mobileDevice);
|
|
|
|
mobileDevice);
|
|
|
|
} catch (MobileDeviceManagementDAOException e) {
|
|
|
|
} catch (MobileDeviceManagementDAOException e) {
|
|
|
|
String msg = "Error while enrolling the Android device : " +
|
|
|
|
String msg = "Error while enrolling the Windows device : " +
|
|
|
|
device.getDeviceIdentifier();
|
|
|
|
device.getDeviceIdentifier();
|
|
|
|
log.error(msg, e);
|
|
|
|
log.error(msg, e);
|
|
|
|
throw new DeviceManagementException(msg, e);
|
|
|
|
throw new DeviceManagementException(msg, e);
|
|
|
|