std::exception used by reference.