Optimized Exception Handling