X-Git-Url: https://xp-dev.com/git/RRRRHHHH_Code/blobdiff_plain/1cf3957b65da8317e0f2f8cdbec1abb029b8c07d..08aaf3b19060c67249a3f3e206690c260e881713:/ruralHousesDB/src/exceptions/BadDates.java diff --git a/ruralHousesDB/src/exceptions/BadDates.java b/ruralHousesDB/src/exceptions/BadDates.java new file mode 100644 index 0000000..9cf6915 --- /dev/null +++ b/ruralHousesDB/src/exceptions/BadDates.java @@ -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