org.xwiki.security.authorization
Class AuthorizationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.xwiki.security.authorization.AuthorizationException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AccessDeniedException, EntityTypeNotSupportedException, UnableToRegisterRightException
public class AuthorizationException
- extends Exception
This is the base exception raised for various reasons by the authorization module.
- Since:
- 4.0M2
- Version:
- $Id: 3868c7ee459808781d83b0b128a4514c123e9fc7 $
- See Also:
- Serialized Form
|
Constructor Summary |
AuthorizationException(DocumentReference userReference,
EntityReference entityReference)
|
AuthorizationException(DocumentReference userReference,
EntityReference entityReference,
String message)
|
AuthorizationException(DocumentReference userReference,
EntityReference entityReference,
String message,
Throwable cause)
|
AuthorizationException(DocumentReference userReference,
EntityReference entityReference,
Throwable cause)
|
AuthorizationException(EntityReference entityReference,
String message,
Throwable cause)
|
AuthorizationException(Right right,
DocumentReference userReference,
EntityReference entityReference,
String message)
|
AuthorizationException(Right right,
DocumentReference userReference,
EntityReference entityReference,
String message,
Throwable cause)
|
AuthorizationException(String message)
|
AuthorizationException(String message,
Throwable cause)
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AuthorizationException
public AuthorizationException(String message)
- Parameters:
message - Message.- See Also:
Exception
AuthorizationException
public AuthorizationException(String message,
Throwable cause)
- Parameters:
message - Message.cause - Original cause.- See Also:
Exception
AuthorizationException
public AuthorizationException(DocumentReference userReference,
EntityReference entityReference)
- Parameters:
userReference - The user, for which the query was attempted.entityReference - The entity, on which the query was attempted.- See Also:
Exception
AuthorizationException
public AuthorizationException(DocumentReference userReference,
EntityReference entityReference,
String message)
- Parameters:
userReference - The user, for which the query was attempted.entityReference - The entity, on which the query was attempted.message - Message.- See Also:
Exception
AuthorizationException
public AuthorizationException(Right right,
DocumentReference userReference,
EntityReference entityReference,
String message)
- Parameters:
right - The right being checked.userReference - The user, for which the query was attempted.entityReference - The entity, on which the query was attempted.message - Message.- See Also:
Exception
AuthorizationException
public AuthorizationException(DocumentReference userReference,
EntityReference entityReference,
String message,
Throwable cause)
- Parameters:
userReference - The user, for which the query was attempted.entityReference - The entity, on which the query was attempted.message - Message.cause - Original cause.- See Also:
Exception
AuthorizationException
public AuthorizationException(Right right,
DocumentReference userReference,
EntityReference entityReference,
String message,
Throwable cause)
- Parameters:
right - The right being checked.userReference - The user, for which the query was attempted.entityReference - The entity, on which the query was attempted.message - Message.cause - Original cause.- See Also:
Exception
AuthorizationException
public AuthorizationException(EntityReference entityReference,
String message,
Throwable cause)
- Parameters:
entityReference - The entity, on which the query was attempted.message - Message.cause - Original cause.- See Also:
Exception
AuthorizationException
public AuthorizationException(DocumentReference userReference,
EntityReference entityReference,
Throwable cause)
- Parameters:
userReference - The user, for which the query was attempted.entityReference - The entity, on which the query was attempted.cause - Original cause.- See Also:
Exception
Copyright © 2004–2015 XWiki. All rights reserved.