Top Description Fields Constructors Methods
org.eclipse.jgit.errors

public Class CheckoutConflictException

extends IOException
Class Inheritance
Imports
java.io.IOException, java.text.MessageFormat, org.eclipse.jgit.internal.JGitText

Exception thrown if a conflict occurs during a merge checkout.

Field Summary

Modifier and TypeField and Description
private final String[]
private static final long

Constructor Summary

AccessConstructor and Description
public
CheckoutConflictException(String
relative path of a file
file
)

Construct a CheckoutConflictException for the specified file

public
CheckoutConflictException(String[]
an array of relative file paths
files
)

Construct a CheckoutConflictException for the specified set of files

Method Summary

Modifier and TypeMethod and Description
private static String
buildList(String[] files)

public String[]

Returns:

the relative paths of the conflicting files (relative to the working directory root).
getConflictingFiles
()

Get the relative paths of the conflicting files

Field Detail

conflictingback to summary
private final String[] conflicting
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.IOException.serialVersionUID.

Constructor Detail

CheckoutConflictExceptionback to summary
public CheckoutConflictException(String file)

Construct a CheckoutConflictException for the specified file

Parameters
file:String

relative path of a file

CheckoutConflictExceptionback to summary
public CheckoutConflictException(String[] files)

Construct a CheckoutConflictException for the specified set of files

Parameters
files:String[]

an array of relative file paths

Method Detail

buildListback to summary
private static String buildList(String[] files)
getConflictingFilesback to summary
public String[] getConflictingFiles()

Get the relative paths of the conflicting files

Returns:String[]

the relative paths of the conflicting files (relative to the working directory root).

Since
4.4