remove unnecessary exceptions.

revert-dabc3590
shagihan 6 years ago
parent 1aeede731f
commit e49fc3573f

@ -164,11 +164,6 @@ public class DeviceTypeConfigurationServiceImpl implements DeviceTypeConfigurati
log.error(msg, e); log.error(msg, e);
throw new UnexpectedServerErrorException( throw new UnexpectedServerErrorException(
new ErrorResponse.ErrorResponseBuilder().setCode(500l).setMessage(msg).build()); new ErrorResponse.ErrorResponseBuilder().setCode(500l).setMessage(msg).build());
} catch (NullPointerException e) {
msg = "Error occurred while reading notifierFrequency value.";
log.error(msg, e);
throw new UnexpectedServerErrorException(
new ErrorResponse.ErrorResponseBuilder().setCode(500l).setMessage(msg).build());
} catch (OperationManagementException e) { } catch (OperationManagementException e) {
msg = "Error occurred while modifying configuration settings of Android platform."; msg = "Error occurred while modifying configuration settings of Android platform.";
log.error(msg, e); log.error(msg, e);

Loading…
Cancel
Save