52 lines
813 B
Plaintext
52 lines
813 B
Plaintext
|
head 1.1;
|
||
|
access;
|
||
|
symbols;
|
||
|
locks; strict;
|
||
|
comment @# @;
|
||
|
|
||
|
|
||
|
1.1
|
||
|
date 2006.02.01.12.01.24; author TWikiContributor; state Exp;
|
||
|
branches;
|
||
|
next ;
|
||
|
|
||
|
|
||
|
desc
|
||
|
@new-topic
|
||
|
@
|
||
|
|
||
|
|
||
|
1.1
|
||
|
log
|
||
|
@buildrelease
|
||
|
@
|
||
|
text
|
||
|
@---+ Package =TWiki::AccessControlException=
|
||
|
*extends* <tt>Error</tt>
|
||
|
|
||
|
|
||
|
Exception used raise an access control violation.
|
||
|
|
||
|
|
||
|
%TOC%
|
||
|
|
||
|
---++ ClassMethod *new* <tt>($mode,$user,$web,$topic,$reason)</tt>
|
||
|
|
||
|
* =$mode= - mode of access (view, change etc)
|
||
|
* =$user= - user object doing the accessing
|
||
|
* =$web= - web being accessed
|
||
|
* =$topic= - topic being accessed
|
||
|
* =$reason= - string reason for failure
|
||
|
|
||
|
All the above fields are accessible from the object in a catch clause
|
||
|
in the usual way e.g. =$e->{web}= and =$e->{reason}=
|
||
|
|
||
|
|
||
|
|
||
|
---++ ObjectMethod *stringify* <tt>() -> $string</tt>
|
||
|
|
||
|
Generate a summary string
|
||
|
|
||
|
|
||
|
@
|