Fixed a couple of warning for unused exception variables. They bothered my eyes :)
Merge branches 'master' and 'UnusedVariableWarnings'
Merge pull request #926 from marcusoftnet/master

Fixed 3 Unused variable warnings