Catching exceptions by reference.