Class AuthorisationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.atlassian.sal.api.permission.AuthorisationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NotAuthenticatedException

public class AuthorisationException extends RuntimeException
Exception that is thrown by one of the enforce methods in PermissionEnforcer when the current user does not have the required level of access.
Since:
3.2
See Also:
  • Constructor Details

    • AuthorisationException

      public AuthorisationException()
    • AuthorisationException

      public AuthorisationException(String message)
    • AuthorisationException

      public AuthorisationException(String message, Throwable cause)
    • AuthorisationException

      public AuthorisationException(Throwable cause)