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 |
Indicates a pull request could not be created because it would have no commits. Each pull request is required to pull in at least one new commit.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This constructor is deprecated.
in 3.11 for removal in 4.0. Use
EmptyPullRequestException(KeyedMessage, PullRequestRef, PullRequestRef) instead
| |||||||||||
This constructor is deprecated.
in 3.11 for removal in 4.0. Use
EmptyPullRequestException(KeyedMessage, PullRequestRef, PullRequestRef) instead
| |||||||||||
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.stash.exception.ServiceException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
This constructor is deprecated.
in 3.11 for removal in 4.0. Use
EmptyPullRequestException(KeyedMessage, PullRequestRef, PullRequestRef)
instead
This constructor is deprecated.
in 3.11 for removal in 4.0. Use
EmptyPullRequestException(KeyedMessage, PullRequestRef, PullRequestRef)
instead
message | a message explaining why the pull request could not be created |
---|---|
fromRef | the requested "from" ref for the pull request |
toRef | the requested "to" ref for the pull request |