throwing proper Exception for Date paring exception