astyle -A10 reformatting of changes
catch exceptions by reference, not value; ref cppcheck