mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Removed the exception. It has to be handled in a different layer
This commit is contained in:
parent
315603481d
commit
5e68735625
@ -135,8 +135,6 @@ public class DeviceManagerImpl implements DeviceManager {
|
|||||||
convertedDevice.setProperties(dmsDevice.getProperties());
|
convertedDevice.setProperties(dmsDevice.getProperties());
|
||||||
convertedDevice.setFeatures(dmsDevice.getFeatures());
|
convertedDevice.setFeatures(dmsDevice.getFeatures());
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
throw new DeviceManagementException("No device found for the id '" + deviceId.getId() + "'");
|
|
||||||
}
|
}
|
||||||
} catch (DeviceManagementDAOException e) {
|
} catch (DeviceManagementDAOException e) {
|
||||||
throw new DeviceManagementException(
|
throw new DeviceManagementException(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user