Build: #340 was successful Changes by teleivo <mrteleivo@gmail.com> and Ivo Ulrich <teleivo@users.noreply.github.com>
Code commits
Git
-
Ivo Ulrich <teleivo@users.noreply.github.com> df9301e684dd671011249ff48896f079877bc8e9
Merge pull request #423 from teleivo/RAD-303
Update exceptions in RadiologyReport -
teleivo <mrteleivo@gmail.com> 03855fff16a089aa57de861a5d77b7a35a4f6dfd
Update exceptions in RadiologyReport
* turn UnsupportedOperationException into APIException since these cases
violate our business rules. This way they can be handled by the consumer.
* turn one IAE into an APIException because its a business rule violation- api/src/main/java/org/openmrs/module/radiology/report/RadiologyReportService.java (version 03855fff16a089aa57de861a5d77b7a35a4f6dfd)
- api/src/main/java/org/openmrs/module/radiology/report/RadiologyReportServiceImpl.java (version 03855fff16a089aa57de861a5d77b7a35a4f6dfd)
- api/src/test/java/org/openmrs/module/radiology/report/RadiologyReportServiceComponentTest.java (version 03855fff16a089aa57de861a5d77b7a35a4f6dfd)