converting month number to month name using exception classes

program that prompts the user to enter a person’s date of birth in numeric form such as 8-27-1980.The program then outputs the date of birth in the form: august 27, 1980.Your program must contain at least two exception classes; invalidDay and invalidMonth.
can some one pls help, i'm new to exception classes
Topic archived. No new replies allowed.