aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/errors/NoRemoteRepositoryException.java
blob: 1fa411b4d53565f0b90a65c67258aa172a3a567e (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
/*
 * Copyright (C) 2008, Shawn O. Pearce <spearce@spearce.org> 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;

import org.eclipse.jgit.transport.URIish;

/**
 * Indicates a remote repository does not exist.
 */
public class NoRemoteRepositoryException extends TransportException {
	private static final long serialVersionUID = 1L;

	/**
	 * Constructs an exception indicating a repository does not exist.
	 *
	 * @param uri
	 *            URI used for transport
	 * @param s
	 *            message
	 */
	public NoRemoteRepositoryException(URIish uri, String s) {
		super(uri, s);
	}

	/**
	 * Constructs an exception indicating a repository does not exist.
	 *
	 * @param uri
	 *            URI used for transport
	 * @param s
	 *            message
	 * @param cause
	 *            root cause exception
	 * @since 5.13.1
	 */
	public NoRemoteRepositoryException(URIish uri, String s, Throwable cause) {
		super(uri, s, cause);
	}
}