#include <mcllib/MCThrow.h>
Public Member Functions | |
MCThrowWrapper (const MCEXT &ex, const char *file, int line) | |
MCThrowWrapper (const MCEXT &ex) | |
MCEXT & | operator+= (const MCStringStream &mcss) |
This is instead of putting it on the MCExcept class which would be forced to always return the same type (i.e. MCExcept) meaning we would loose the derived class information. So, the long and the short of it is that this template allows for derived exception classes.