public class AccessDeniedException extends AuthorizationException
Constructor and Description |
---|
AccessDeniedException(DocumentReference userReference,
EntityReference entityReference) |
AccessDeniedException(DocumentReference userReference,
EntityReference entityReference,
Throwable t) |
AccessDeniedException(Right right,
DocumentReference userReference,
EntityReference entityReference) |
AccessDeniedException(Right right,
DocumentReference userReference,
EntityReference entityReference,
Throwable t) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AccessDeniedException(DocumentReference userReference, EntityReference entityReference)
userReference
- The user, for which the query was attempted.entityReference
- The entity, on which the query was attempted.public AccessDeniedException(Right right, DocumentReference userReference, EntityReference entityReference)
right
- The right currently being checked.userReference
- The user, for which the query was attempted.entityReference
- The entity, on which the query was attempted.public AccessDeniedException(DocumentReference userReference, EntityReference entityReference, Throwable t)
userReference
- The user, for which the query was attempted.entityReference
- The entity, on which the query was attempted.t
- a Throwable providing details about the underlying cause.public AccessDeniedException(Right right, DocumentReference userReference, EntityReference entityReference, Throwable t)
right
- The right currently being checked.userReference
- The user, for which the query was attempted.entityReference
- The entity, on which the query was attempted.t
- a Throwable providing details about the underlying cause.Copyright © 2004–2021 XWiki. All rights reserved.