2075 11

CSC166 ยท 2075 ยท 5 marks

Explain how exceptions are used for handling C++ error in a systematic and OOP-oriented way with the design that includes multiple exceptions.

Explain how exceptions are used for handling C++ error in a systematic and OOP-oriented way with the design that includes multiple exceptions. [5]

Object Oriented ProgrammingChapter 7: Function Templates and Exception HandlingExceptional Handling

Exception handling is a mechanism in C++ that allows a program to detect and respond to runtime errors in a structured, OOP-oriented way. As stated in the notes, it is used "to develop a reliable and robust system" and "prevents the separation of error handling code from the normal program code."...