1 /*
2 * Copyright (C) 2010, Christian Halstrick <christian.halstrick@sap.com> and others
3 *
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Distribution License v. 1.0 which is available at
6 * https://www.eclipse.org/org/documents/edl-v10.php.
7 *
8 * SPDX-License-Identifier: BSD-3-Clause
9 */
10 package org.eclipse.jgit.api.errors;
11
12 /**
13 * The commit to be cherry-pick'ed did not have exactly one parent
14 */
15 public class MultipleParentsNotAllowedException extends GitAPIException {
16 private static final long serialVersionUID = 1L;
17
18 /**
19 * Constructor for MultipleParentsNotAllowedException.
20 *
21 * @param message
22 * error message
23 * @param cause
24 * a {@link java.lang.Throwable}
25 */
26 public MultipleParentsNotAllowedException(String message, Throwable cause) {
27 super(message, cause);
28 }
29
30 /**
31 * Constructor for MultipleParentsNotAllowedException.
32 *
33 * @param message
34 * error message
35 */
36 public MultipleParentsNotAllowedException(String message) {
37 super(message);
38 }
39 }