Refs #10280. Catching exceptions by reference.