Daya Bay Reactor Neutrino Experiment
TWiki > TWikiAccessControlExceptionDotPm (1 vs. 2)
Daya Bay webs: Public | 中文 | Internal | Help   Log In or Register

Welcome | Register | Changes | Topics | Index | Search | Go
 <<O>>  Difference Topic TWikiAccessControlExceptionDotPm (2 - 2008-01-22 - TWikiContributor)

 <<O>>  Difference Topic TWikiAccessControlExceptionDotPm (1 - 2006-02-01 - TWikiContributor)
Line: 1 to 1
Added:
>
>

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


View | History: r2 < r1 | More

View | History: r2 < r1 | More
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiAccessControlExceptionDotPm.