Removed the exception. It has to be handled in a different layer

4.x.x
Dulitha Wijewantha 10 years ago
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…
Cancel
Save