I\'m a student in my first C++ programming class, and I\'m working on a project where we have to create multiple custom exception classes, and then in one of our event handl
Derive all of your exceptions from a common base class BaseException that has a virtual method GetMessage().
BaseException
GetMessage()
Then catch(const BaseException& e).
catch(const BaseException& e)