OpenMRS Core Master
Build: #1361 was successful Changes by samshuster <samshuste@gmail.com> and Daniel Kayiwa
Code commits
openmrs-core
-
Daniel Kayiwa 692ff644d67d90b6e973fa4cd523f4d16ef9515b
Merge pull request #1860 from samshuster/TRUNK-4696
TRUNK-4696: added specific exception classes for the Order Service -
samshuster <samshuste@gmail.com> b33cae6e570d0b0195c9df751068dbaeed087694
TRUNK-4696: added specific exception classes for the Order Service
Modifying some Order Exception definitions to be more in line with the messages.properties. Fixing test to map to these new definitions.
moving exceptions to separate classes. Changing call to use overloaded method without throwable
adding license to files- api/src/main/java/org/openmrs/api/impl/OrderServiceImpl.java (version b33cae6e570d0b0195c9df751068dbaeed087694)
- api/src/main/java/org/openmrs/api/order/exceptions/CannotDeleteOrderPropertyInUseException.java (version b33cae6e570d0b0195c9df751068dbaeed087694)
- api/src/main/java/org/openmrs/api/order/exceptions/CannotDiscontinueAlreadyDiscontinuedOrderException.java (version b33cae6e570d0b0195c9df751068dbaeed087694)
- api/src/main/java/org/openmrs/api/order/exceptions/CannotDiscontinueOrderWithActionException.java (version b33cae6e570d0b0195c9df751068dbaeed087694)
- api/src/main/java/org/openmrs/api/order/exceptions/CannotEditAlreadyExistingOrderException.java (version b33cae6e570d0b0195c9df751068dbaeed087694)
- api/src/main/java/org/openmrs/api/order/exceptions/CannotEditOrderPropertyInUseException.java (version b33cae6e570d0b0195c9df751068dbaeed087694)
- api/src/main/java/org/openmrs/api/order/exceptions/CannotStopRetrospectiveDiscontinuedOrderException.java (version b33cae6e570d0b0195c9df751068dbaeed087694)
- api/src/main/java/org/openmrs/api/order/exceptions/CannotUnvoidOrderException.java (version b33cae6e570d0b0195c9df751068dbaeed087694)
- api/src/main/java/org/openmrs/api/order/exceptions/EditedOrderDoesNotMatchPreviousException.java (version b33cae6e570d0b0195c9df751068dbaeed087694)
- api/src/main/java/org/openmrs/api/order/exceptions/InvalidOrderException.java (version b33cae6e570d0b0195c9df751068dbaeed087694)
- api/src/main/java/org/openmrs/api/order/exceptions/PreviousOrderRequiredException.java (version b33cae6e570d0b0195c9df751068dbaeed087694)
- api/src/main/java/org/openmrs/api/order/exceptions/UnchangeableOrderPropertyException.java (version b33cae6e570d0b0195c9df751068dbaeed087694)
- api/src/test/java/org/openmrs/api/OrderServiceTest.java (version b33cae6e570d0b0195c9df751068dbaeed087694)