diff --git a/omod/src/main/java/org/openmrs/module/bedmanagement/rest/resource/BedResource.java b/omod/src/main/java/org/openmrs/module/bedmanagement/rest/resource/BedResource.java index d8d32d4..608d80a 100644 --- a/omod/src/main/java/org/openmrs/module/bedmanagement/rest/resource/BedResource.java +++ b/omod/src/main/java/org/openmrs/module/bedmanagement/rest/resource/BedResource.java @@ -267,7 +267,7 @@ private BedLocationMapping constructBedLocationMapping(Bed bed, String locationU existingBedLocationMapping.setRow(row); existingBedLocationMapping.setColumn(column); } else if (existingBedLocationMapping.getBed() != null) { - throw new IllegalPropertyException("Already bed assign to give row & column"); + throw new IllegalPropertyException("A bed is already assigned to the given row & column"); } existingBedLocationMapping.setBed(bed);