public class

EmptyPullRequestException

extends IntegrityException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.stash.exception.ServiceException
           ↳ com.atlassian.stash.exception.IntegrityException
             ↳ com.atlassian.stash.pull.EmptyPullRequestException

Class Overview

Indicates a pull request could not be created because it would have contained no changesets.

Summary

Public Constructors
EmptyPullRequestException(KeyedMessage message)
EmptyPullRequestException(PullRequestRef fromRef, PullRequestRef toRef, KeyedMessage message)
Public Methods
@Nullable PullRequestRef getFromRef()
@Nullable PullRequestRef getToRef()
[Expand]
Inherited Methods
From class com.atlassian.stash.exception.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public EmptyPullRequestException (KeyedMessage message)

public EmptyPullRequestException (PullRequestRef fromRef, PullRequestRef toRef, KeyedMessage message)

Public Methods

@Nullable public PullRequestRef getFromRef ()

@Nullable public PullRequestRef getToRef ()