Implemented suggested changes
Added StringUtils.stringForException helper