Ensure exception objects are always caught by reference (C++) | CAST Appmarq