public class

InvalidPullRequestReviewersException

extends InvalidPullRequestParticipantsException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.bitbucket.ServiceException
           ↳ com.atlassian.bitbucket.IntegrityException
             ↳ com.atlassian.bitbucket.pull.InvalidPullRequestParticipantException
               ↳ com.atlassian.bitbucket.pull.InvalidPullRequestParticipantsException
                 ↳ com.atlassian.bitbucket.pull.InvalidPullRequestReviewersException

Class Overview

Indicates one or more reviewers could not be added to a new or existing pull request because the users either don't exist, don't have permission to view the pull request.

Summary

Public Constructors
InvalidPullRequestReviewersException(KeyedMessage message)
InvalidPullRequestReviewersException(KeyedMessage message, Map<String, KeyedMessage> reviewerErrorsByName, Set<ApplicationUser> validReviewers)
Public Methods
@Nonnull Map<String, KeyedMessage> getReviewerErrors()
@Nonnull Set<ApplicationUser> getValidReviewers()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.pull.InvalidPullRequestParticipantsException
From class com.atlassian.bitbucket.pull.InvalidPullRequestParticipantException
From class com.atlassian.bitbucket.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public InvalidPullRequestReviewersException (KeyedMessage message)

public InvalidPullRequestReviewersException (KeyedMessage message, Map<String, KeyedMessage> reviewerErrorsByName, Set<ApplicationUser> validReviewers)

Public Methods

@Nonnull public Map<String, KeyedMessage> getReviewerErrors ()

@Nonnull public Set<ApplicationUser> getValidReviewers ()