1 # <a name="Package <code>TWiki::_AccessControlEx"></a> Package =TWiki::AccessControlException
5 Exception used raise an access control violation.
9 <li><a href="#Package =TWiki::_AccessControlEx"> Package TWiki::AccessControlException</a><ul>
10 <li><a href="#ClassMethod <strong>new</strong> ($mode,$user,$"> ClassMethod new <tt>($mode,$user,$web,$topic,$reason)</tt></a></li>
11 <li><a href="#ObjectMethod <strong>stringify</strong> () -> $"> ObjectMethod stringify <tt>() -> $string</tt></a></li>
17 ## <a name="ClassMethod <strong>new</strong> ($mode,$user,$"></a> [[ClassMethod]] **new** `($mode,$user,$web,$topic,$reason)`
19 - `$mode` - mode of access (view, change etc)
20 - `$user` - user object doing the accessing
21 - `$web` - web being accessed
22 - `$topic` - topic being accessed
23 - `$reason` - string reason for failure
25 All the above fields are accessible from the object in a catch clause in the usual way e.g. `$e->{web}` and `$e->{reason}`
27 ## <a name="ObjectMethod <strong>stringify</strong> () - $s"></a> [[ObjectMethod]] **stringify** `() -> $string`
29 Generate a summary string