Class InvalidMergeHeadsException

  • All Implemented Interfaces:
    java.io.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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidMergeHeadsException​(java.lang.String msg)
      Constructor for InvalidMergeHeadsException.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvalidMergeHeadsException

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