Class GitNonFastForwardUpdateRejectedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.atlassian.bitbucket.ServiceException
com.atlassian.bitbucket.scm.git.GitException
com.atlassian.bitbucket.scm.git.command.push.GitNonFastForwardUpdateRejectedException
All Implemented Interfaces:
Serializable

public class GitNonFastForwardUpdateRejectedException extends GitException
Indicates a non-forced push to a ref failed because it was not fast-forward.
See Also:
  • Constructor Details

    • GitNonFastForwardUpdateRejectedException

      public GitNonFastForwardUpdateRejectedException(@Nonnull com.atlassian.bitbucket.i18n.KeyedMessage keyedText, @Nonnull String rejectedRef)
  • Method Details

    • getRejectedRef

      @Nonnull public String getRejectedRef()