Class CheckoutConflictException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CheckoutConflictException
    extends GitAPIException
    Exception thrown when a command can't succeed because of unresolved conflicts.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getConflictingPaths()  
      • 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

      • CheckoutConflictException

        public CheckoutConflictException​(java.util.List<java.lang.String> conflictingPaths,
                                         CheckoutConflictException e)
        Translate internal exception to API exception
        Parameters:
        conflictingPaths - list of conflicting paths
        e - a CheckoutConflictException exception
    • Method Detail

      • getConflictingPaths

        public java.util.List<java.lang.String> getConflictingPaths()
        Returns:
        all the paths where unresolved conflicts have been detected