aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/api/errors/PatchApplyException.java
blob: b7ea46ccc54f4bc176b6efc0e31b1ec226f34a05 (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
/*
 * Copyright (C) 2012, IBM Corporation and others. 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.api.errors;

/**
 * Exception thrown when applying a patch fails
 *
 * @since 2.0
 */
public class PatchApplyException extends GitAPIException {
	private static final long serialVersionUID = 1L;

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

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

}