public class

MergeException

extends ScmException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.bitbucket.ServiceException
           ↳ com.atlassian.bitbucket.scm.ScmException
             ↳ com.atlassian.bitbucket.scm.MergeException

Summary

Public Constructors
MergeException(KeyedMessage message, String scmId, Repository repository, String from, String to, boolean conflicted)
MergeException(KeyedMessage message, Throwable cause, String scmId, Repository repository, String from, String to, boolean conflicted)
Public Methods
@Nonnull String getFrom()
@Nonnull Repository getRepository()
@Nonnull String getTo()
boolean isConflicted()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.scm.ScmException
From class com.atlassian.bitbucket.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public MergeException (KeyedMessage message, String scmId, Repository repository, String from, String to, boolean conflicted)

public MergeException (KeyedMessage message, Throwable cause, String scmId, Repository repository, String from, String to, boolean conflicted)

Public Methods

@Nonnull public String getFrom ()

@Nonnull public Repository getRepository ()

@Nonnull public String getTo ()

public boolean isConflicted ()

Returns
  • true if the merge failed because the resulting merge had conflicts