Swap exception handler context manager.