You are here: Reef Watch > TWiki Web > TWikiAccessControlExceptionDotPm

Package TWiki::AccessControlException

extends Error

Exception used raise an access control violation.

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

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

Generate a summary string

r1 - 01 Feb 2006 - 20:01:24 - TWikiContributor
 
This site is powered by the TWiki collaboration platformCopyright © 1997 - 2012 Reef Watch and contributing authors. All material on this site is the property of Reef Watch and its contributing authors.
Reef Watch is a project of the Conservation Council of South Australia inc. Ideas, requests, problems regarding Reef Watch? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiAccessControlExceptionDotPm