Compiler Error C2316

'identifier' : cannot be caught, there is no access to the destructor

A thrown exception object had a user defined destructor that did not have public access.