Write a Python function that takes a date string in the format “YYYY-MM-DD” and converts it to a DateTime object. The function should handle incorrect formats.
Example 1:
Input: "2023-08-02"
Output: datetime.datetime(2023, 8, 2, 0, 0)
Example 2:
Input: "02-08-2023"
Output: "Exception: Incorrect date format"