Rockbox.org home
releases
current build
extras FAQ
manual
wiki
docs index mailing lists
IRC
forums bugs
patches



Welcome | Register | Changes | Topics | Index | Search | Go
TWiki > TWiki > 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 - 13:01:24 - TWikiContributor
Edit | View raw | Attach | Ref-By | History: r1 | More | Refresh cache

Copyright © 1999-2008 by the contributing authors.