Class CheckoutConflictException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.eclipse.jgit.errors.CheckoutConflictException
All Implemented Interfaces:
Serializable

public class CheckoutConflictException extends IOException
Exception thrown if a conflict occurs during a merge checkout.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • conflicting

      private final String[] conflicting
  • Constructor Details

    • CheckoutConflictException

      public CheckoutConflictException(String file)
      Construct a CheckoutConflictException for the specified file
      Parameters:
      file - relative path of a file
    • CheckoutConflictException

      public CheckoutConflictException(String[] files)
      Construct a CheckoutConflictException for the specified set of files
      Parameters:
      files - an array of relative file paths
  • Method Details

    • getConflictingFiles

      public String[] getConflictingFiles()
      Get the relative paths of the conflicting files
      Returns:
      the relative paths of the conflicting files (relative to the working directory root).
      Since:
      4.4
    • buildList

      private static String buildList(String[] files)