Class NotAuthorizedException

  • All Implemented Interfaces:
    Serializable

    public class NotAuthorizedException
    extends IllegalStateException
    Exception thrown from a service action when the execute() method is called in the context of a user who is not authorized to perform the action.
    See Also:
    Serialized Form
    • Constructor Detail

      • NotAuthorizedException

        public NotAuthorizedException​(String username)
      • NotAuthorizedException

        public NotAuthorizedException​(com.atlassian.user.User user,
                                      Permission permission,
                                      Object target)