style fix - catching all exceptions by const reference