Package org.eclipse.jgit.errors
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CheckoutConflictException(String file)
Construct a CheckoutConflictException for the specified fileCheckoutConflictException(String[] files)
Construct a CheckoutConflictException for the specified set of files
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getConflictingFiles()
Get the relative paths of the conflicting files-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
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 Detail
-
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
-
-