1
2
3
4
5
6
7
8
9
10
11 package org.eclipse.jgit.errors;
12
13 import java.io.IOException;
14 import java.text.MessageFormat;
15
16 import org.eclipse.jgit.dircache.DirCacheEntry;
17 import org.eclipse.jgit.internal.JGitText;
18
19
20
21
22 public class UnmergedPathException extends IOException {
23 private static final long serialVersionUID = 1L;
24
25 private final DirCacheEntry entry;
26
27
28
29
30
31
32
33 public UnmergedPathException(DirCacheEntry dce) {
34 super(MessageFormat.format(JGitText.get().unmergedPath, dce.getPathString()));
35 entry = dce;
36 }
37
38
39
40
41
42
43 public DirCacheEntry getDirCacheEntry() {
44 return entry;
45 }
46 }