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

public Class DirCacheNameConflictException

extends IllegalStateException
Class Inheritance

Thrown by DirCache code when entries overlap in impossible way.
Since
4.2

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
DirCacheNameConflictException(String
one path that conflicts.
path1
,
String
another path that conflicts.
path2
)

Construct an exception for a specific path.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

one of the paths that has a conflict
getPath1
()

Get one of the paths that has a conflict

public String

Returns:

another path that has a conflict
getPath2
()

Get another path that has a conflict

Field Detail

path1back to summary
private final String path1
path2back to summary
private final String path2
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.IllegalStateException.serialVersionUID.

Constructor Detail

DirCacheNameConflictExceptionback to summary
public DirCacheNameConflictException(String path1, String path2)

Construct an exception for a specific path.

Parameters
path1:String

one path that conflicts.

path2:String

another path that conflicts.

Method Detail

getPath1back to summary
public String getPath1()

Get one of the paths that has a conflict

Returns:String

one of the paths that has a conflict

getPath2back to summary
public String getPath2()

Get another path that has a conflict

Returns:String

another path that has a conflict