org.eclipse.jgit.api.errors
Class CheckoutConflictException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.jgit.api.errors.GitAPIException
              extended by org.eclipse.jgit.api.errors.CheckoutConflictException
All Implemented Interfaces:
Serializable

public class CheckoutConflictException
extends GitAPIException

Exception thrown when a command can't succeed because of unresolved conflicts.

See Also:
Serialized Form

Constructor Summary
CheckoutConflictException(List<String> conflictingPaths, CheckoutConflictException e)
          Translate internal exception to API exception
 
Method Summary
 List<String> getConflictingPaths()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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(List<String> conflictingPaths,
                                 CheckoutConflictException e)
Translate internal exception to API exception

Parameters:
conflictingPaths - list of conflicting paths
e - a CheckoutConflictException exception
Method Detail

getConflictingPaths

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


Copyright © 2013. All Rights Reserved.