Class InvalidMergeHeadsException

  • All Implemented Interfaces:
    Serializable

    public class InvalidMergeHeadsException
    extends GitAPIException
    Exception thrown when a merge command was called without specifying the proper amount/type of merge heads. E.g. a non-octopus merge strategy was confronted with more than one head to be merged into HEAD. Another case would be if a merge was called without including any head.
    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidMergeHeadsException

        public InvalidMergeHeadsException​(String msg)
        Constructor for InvalidMergeHeadsException.
        Parameters:
        msg - error message