Avoid throwing exceptions in destructors | CAST Appmarq