1
2
3
4
5
6
7
8
9
10
11 package org.eclipse.jgit.errors;
12
13 import org.eclipse.jgit.internal.JGitText;
14
15 import java.io.IOException;
16 import java.text.MessageFormat;
17 import java.time.Duration;
18
19
20
21
22
23
24 public class SearchForReuseTimeout extends IOException {
25 private static final long serialVersionUID = 1L;
26
27
28
29
30
31
32
33 public SearchForReuseTimeout(Duration timeout) {
34 super(MessageFormat.format(JGitText.get().searchForReuseTimeout,
35 Long.valueOf(timeout.getSeconds())));
36 }
37
38 @Override
39 public synchronized Throwable fillInStackTrace() {
40 return this;
41 }
42 }