cppcheck: Exception should be caught by reference

Change-Id: Ie6438d67aa09fd1dfb746b4ac7ff34d6494ee453