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