Home | Gifts

Package =TWiki::AccessControlException

Exception used raise an access control violation. This exception has the following fields:

The exception may be thrown by plugins. If a plugin throws the exception, it will normally be caught and the browser redirected to a login screen (if the user is not logged in) or reported (if they are and just don't have access).

On this page:

ClassMethod new ($mode,$user,$web,$topic,$reason)

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 () -> $string

Generate a summary string. This is mainly for debugging.

Revision r2 - 2008-01-22 - 03:21:26 - TWikiContributor Edit