modify thrown exception
Merge pull request #20 from alberts-tid/task/add_auth_support

modify thrown exception