public class

MergeCanceledException

extends RequestCanceledException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.stash.exception.ServiceException
           ↳ com.atlassian.stash.exception.RequestCanceledException
             ↳ com.atlassian.stash.scm.MergeCanceledException
Known Direct Subclasses

Class Overview

Thrown when merge(MergeCommandParameters) merge operation} is canceled by an event listener.

The processing of canceling a merge operation is SCM-specific, including the event that must be canceled to trigger it. However, it shall be considered part of the contract for this exception that no refs in the target repository may be updated prior to throwing it. A canceled merge should not update the target repository.

Summary

Public Constructors
MergeCanceledException(KeyedMessage message, List<KeyedMessage> cancelMessages, Repository repository, Ref from, Ref to)
Public Methods
@Nonnull Ref getFrom()
@Nonnull Repository getRepository()
@Nonnull Ref getTo()
[Expand]
Inherited Methods
From class com.atlassian.stash.exception.RequestCanceledException
From class com.atlassian.stash.exception.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public MergeCanceledException (KeyedMessage message, List<KeyedMessage> cancelMessages, Repository repository, Ref from, Ref to)

Public Methods

@Nonnull public Ref getFrom ()

@Nonnull public Repository getRepository ()

@Nonnull public Ref getTo ()