Class EmptyPullRequestException

All Implemented Interfaces:
Serializable

public class EmptyPullRequestException extends IntegrityException
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.
See Also:
  • Constructor Details

    • EmptyPullRequestException

      public EmptyPullRequestException(@Nonnull KeyedMessage message, @Nonnull PullRequestRef fromRef, @Nonnull PullRequestRef toRef)
      Parameters:
      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
  • Method Details