Package org.eclipse.jgit.api.errors
Class CheckoutConflictException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.CheckoutConflictException
- All Implemented Interfaces:
Serializable
Exception thrown when a command can't succeed because of unresolved
conflicts.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
-
Constructor Summary
ConstructorsConstructorDescriptionCheckoutConflictException
(String message) CheckoutConflictException
(String message, Throwable cause) CheckoutConflictException
(String message, List<String> conflictingPaths) CheckoutConflictException
(String message, List<String> conflictingPaths, Throwable cause) CheckoutConflictException
(List<String> conflictingPaths, CheckoutConflictException e) Translate internal exception to API exception -
Method Summary
Modifier and TypeMethodDescription(package private) CheckoutConflictException
addConflictingPath
(String conflictingPath) Adds a new conflicting pathGet conflicting pathsMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
conflictingPaths
-
-
Constructor Details
-
CheckoutConflictException
Translate internal exception to API exception- Parameters:
conflictingPaths
- list of conflicting pathse
- aCheckoutConflictException
exception
-
CheckoutConflictException
-
CheckoutConflictException
-
CheckoutConflictException
CheckoutConflictException(String message) -
CheckoutConflictException
-
-
Method Details
-
getConflictingPaths
Get conflicting paths- Returns:
- all the paths where unresolved conflicts have been detected
-
addConflictingPath
Adds a new conflicting path- Parameters:
conflictingPath
-- Returns:
this
-