Add exception handling to your previous Student, Implementing Association, Aggregation, and Composition, as follows: 1. Should a
Question:
Add exception handling to your previous Student, Implementing Association, Aggregation, and Composition, as follows:
1. Should a student try to enroll in more than the Max defined number of allowable courses per student, throw a TooFulischedule exception. This class may be derived from the Standard Library exception class.
2. Should a student try to enroll in a course that is already full, have the course: : AddStudent (Student *) method throw a CourseFull exception. This class may be derived from the Standard Library exception class.
3. There are many other areas in the student / University application that could utilize exception handling. Decide which areas should employ simple error checking and which are worthy of exception handling.
Step by Step Answer: