package com.atlassian.bitbucket.internal.branch;

import com.atlassian.bitbucket.i18n.KeyedMessage;
import com.atlassian.bitbucket.validation.ArgumentValidationException;

import javax.annotation.Nonnull;

/**
 * Signifies that the branch's commit ID does not match its required location.
 *
 * @see BranchStartPointValidationException
 * @since 2.8
 */
public class BranchHasMovedException extends ArgumentValidationException {

    public BranchHasMovedException(@Nonnull KeyedMessage message) {
        super(message);
    }
}
