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

public Class CheckoutConflictException

extends GitAPIException
Class Inheritance
Imports
java.util.ArrayList, .List

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

Field Summary

Modifier and TypeField and Description
private List<String>
private static final long

Constructor Summary

AccessConstructor and Description
public
CheckoutConflictException(List<String>
list of conflicting paths
conflictingPaths
,
CheckoutConflictException e)

Translate internal exception to API exception

pack-priv
pack-priv
CheckoutConflictException(String message, List<String> conflictingPaths, Throwable cause)

pack-priv
pack-priv
CheckoutConflictException(String message, List<String> conflictingPaths)

Method Summary

Modifier and TypeMethod and Description
pack-priv CheckoutConflictException

Returns:

this
addConflictingPath
(String
the new conflicting path
conflictingPath
)

Adds a new conflicting path

public List<String>

Returns:

all the paths where unresolved conflicts have been detected
getConflictingPaths
()

Get conflicting paths

Field Detail

conflictingPathsback to summary
private List<String> conflictingPaths
serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.eclipse.jgit.api.errors.GitAPIException.serialVersionUID.

Constructor Detail

CheckoutConflictExceptionback to summary
public CheckoutConflictException(List<String> conflictingPaths, CheckoutConflictException e)

Translate internal exception to API exception

Parameters
conflictingPaths:List<String>

list of conflicting paths

e:CheckoutConflictException

a org.eclipse.jgit.errors.CheckoutConflictException exception

CheckoutConflictExceptionback to summary
pack-priv CheckoutConflictException(String message, Throwable cause)
CheckoutConflictExceptionback to summary
pack-priv CheckoutConflictException(String message, List<String> conflictingPaths, Throwable cause)
CheckoutConflictExceptionback to summary
pack-priv CheckoutConflictException(String message)
CheckoutConflictExceptionback to summary
pack-priv CheckoutConflictException(String message, List<String> conflictingPaths)

Method Detail

addConflictingPathback to summary
pack-priv CheckoutConflictException addConflictingPath(String conflictingPath)

Adds a new conflicting path

Parameters
conflictingPath:String

the new conflicting path

Returns:CheckoutConflictException

this

getConflictingPathsback to summary
public List<String> getConflictingPaths()

Get conflicting paths

Returns:List<String>

all the paths where unresolved conflicts have been detected