Convert int to string for concatenation to exception, fixes #1564
Merge pull request #1697 from cmouse/fix-issue-1564

Convert int to string for concatenation to exception, fixes #1564