Class CheckoutConflictException

All Implemented Interfaces:
Serializable

public class CheckoutConflictException extends GitAPIException
Exception thrown when a command can't succeed because of unresolved conflicts.
See Also:
  • Field Details

  • Constructor Details

    • CheckoutConflictException

      public CheckoutConflictException(List<String> conflictingPaths, CheckoutConflictException e)
      Translate internal exception to API exception
      Parameters:
      conflictingPaths - list of conflicting paths
      e - a CheckoutConflictException exception
    • CheckoutConflictException

      CheckoutConflictException(String message, Throwable cause)
    • CheckoutConflictException

      CheckoutConflictException(String message, List<String> conflictingPaths, Throwable cause)
    • CheckoutConflictException

      CheckoutConflictException(String message)
    • CheckoutConflictException

      CheckoutConflictException(String message, List<String> conflictingPaths)
  • Method Details

    • getConflictingPaths

      public List<String> getConflictingPaths()
      Get conflicting paths
      Returns:
      all the paths where unresolved conflicts have been detected
    • addConflictingPath

      CheckoutConflictException addConflictingPath(String conflictingPath)
      Adds a new conflicting path
      Parameters:
      conflictingPath -
      Returns:
      this