public class

DuplicatePullRequestException

extends IntegrityException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.bitbucket.ServiceException
           ↳ com.atlassian.bitbucket.IntegrityException
             ↳ com.atlassian.bitbucket.pull.DuplicatePullRequestException

Class Overview

Indicates a pull request could not be created because there is already an open pull request with the same to/from repositories and branches.

Summary

Public Constructors
DuplicatePullRequestException(PullRequest pullRequest, KeyedMessage message)
Public Methods
@Nonnull PullRequest getExistingPullRequest()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public DuplicatePullRequestException (PullRequest pullRequest, KeyedMessage message)

Public Methods

@Nonnull public PullRequest getExistingPullRequest ()