Cleanup exception throwing