Demonstrating Executive
=========================
Starting Task1
Starting Task2
Starting Task3
Executive starting up
Executive doing a small amount of work
performing Task #1
performing Task #2 -- will throw exeception
--exception thrown in class Executive at line number 26
--something bad happend in Task2::doWork()
performing Task #3 -- attempts to open non-existing file
--exception thrown in class Executive at line number 27
--ios_base::failbit set: iostream stream error
Testing Executive
===================
Starting Task1
Starting Task2
Starting Task3
Executive starting up
--entering class Executive::testPackage()
--entering class Task1::testPackage()
performing Task #1
--entering class Task2::testPackage()
performing Task #2 -- will throw exeception
--exception thrown in class Task2::testPackage()
something bad happend in Task2::doWork()
Executive shutting down
Task3 shutting down
Task2 shutting down
Task1 shutting down
--Executive or at least one of its minions failed their tests
Executive shutting down
Task3 shutting down
Task2 shutting down
Task1 shutting down
Press any key to continue . . .