replaced all instances of LogUtil::getErrorMsgArgs with exception
Merge pull request #1333 from rojblake/logutil

replaced all instances of LogUtil::getErrorMsgArgs with exception