Simplified exception handler