org.xwiki.rendering.macro.wikibridge
Class InsufficientPrivilegesException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.xwiki.rendering.macro.wikibridge.InsufficientPrivilegesException
All Implemented Interfaces:
Serializable

public class InsufficientPrivilegesException
extends Exception

Indicate that a Wiki Macro operation is refused because of insufficient user privileges. This is for example thrown when a trying to register a macro of global visibility and with a macro document not saved with programming right.

Since:
2.5M1
Version:
$Id$
See Also:
Serialized Form

Constructor Summary
InsufficientPrivilegesException(String message)
          Builds a new InsufficientPrivilegesException with the given error message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InsufficientPrivilegesException

public InsufficientPrivilegesException(String message)
Builds a new InsufficientPrivilegesException with the given error message.

Parameters:
message - error messge.


Copyright © 2004-2011 XWiki. All Rights Reserved.