Unified exception handling and logging policies