Started with the separated DB with the given code
[RRRRHHHH_Code] / ruralHousesDB / src / exceptions / OverlappingOfferExists.java
diff --git a/ruralHousesDB/src/exceptions/OverlappingOfferExists.java b/ruralHousesDB/src/exceptions/OverlappingOfferExists.java
new file mode 100644 (file)
index 0000000..c776a3b
--- /dev/null
@@ -0,0 +1,17 @@
+package exceptions;
+public class OverlappingOfferExists extends Exception {
+ private static final long serialVersionUID = 1L;
+ public OverlappingOfferExists()
+  {
+    super();
+  }
+  /**This exception is triggered if there exists an overlapping offer
+  *@param String
+  *@return None
+  */
+  public OverlappingOfferExists(String s)
+  {
+    super(s);
+  }
+}
\ No newline at end of file