raise denied_exception
tests for denied_exception
docs for denied_exception
small style fix