Skip to topic | Skip to bottom
APS Sahaja Yoga
You are here: APS Sahaja Yoga > TWiki Web > TWikiAccessControlExceptionDotPm r1 - 11 Dec 2005 - 12:02 - TWikiGuest


Start of topic | Skip to actions

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

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
This site is powered by the TWiki collaboration platformCopyright © 1993-2005 Associazione di Promozione Sociale "Sahaja Yoga" di Verona
http://www.sahajayogaverona.it - info@sahajayogaveronaPROTEZIONESPAMDACANCELLARE.it
Tel. 3476521542