Question: Create a Construction Exception class (derived from the C++ Standard Library exception). Embed checks within your constructors in a sample class to throw a Construction
Create a Construction Exception class (derived from the C++ Standard Library exception). Embed checks within your constructors in a sample class to throw a Construction Exception when necessary. Be sure to enclose all forms of instantiation of this class within the appropriate try and catch block pairings.
Step by Step Solution
3.51 Rating (168 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
