Catching derived-class exceptions use inheritance to create


1. (Catching Derived-Class Exceptions) Use inheritance to create various derived classes of runtime_error. Then show that a catch handler specifying the base class can catch derived-class exceptions.

2. (Rethrowing Exceptions) Write a program that illustrates rethrowing an exception.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Catching derived-class exceptions use inheritance to create
Reference No:- TGS02169866

Expected delivery within 24 Hours