aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/errors/DiffInterruptedException.java
blob: f0372724528b6c1464604bd1cc1810ccb5a23a4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
 * Copyright (C) 2015 Ericsson and others
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Distribution License v. 1.0 which is available at
 * https://www.eclipse.org/org/documents/edl-v10.php.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

package org.eclipse.jgit.errors;

/**
 * Thrown when a thread executing a diff is interrupted
 *
 * @see org.eclipse.jgit.diff.MyersDiff
 * @since 4.0
 */
public class DiffInterruptedException extends RuntimeException {
	private static final long serialVersionUID = 1L;

	/**
	 * Constructor for DiffInterruptedException
	 *
	 * @param message
	 *            error message
	 * @param cause
	 *            a {@link java.lang.Throwable}
	 * @since 4.1
	 */
	public DiffInterruptedException(String message, Throwable cause) {
		super(message, cause);
	}

	/**
	 * Constructor for DiffInterruptedException
	 *
	 * @param message
	 *            error message
	 * @since 4.1
	 */
	public DiffInterruptedException(String message) {
		super(message);
	}

	/**
	 * Indicates that the thread computing a diff was interrupted.
	 */
	public DiffInterruptedException() {
		super();
	}
}