updated accessdenied exception usage. closes #1438
Merge pull request #1450 from rojblake/exceptions

updated accessdenied exception usage. closes #1438