NoRemoteRepositoryException.java

  1. /*
  2.  * Copyright (C) 2008, Shawn O. Pearce <spearce@spearce.org> 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.errors;

  11. import org.eclipse.jgit.transport.URIish;

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

  17.     /**
  18.      * Constructs an exception indicating a repository does not exist.
  19.      *
  20.      * @param uri
  21.      *            URI used for transport
  22.      * @param s
  23.      *            message
  24.      */
  25.     public NoRemoteRepositoryException(URIish uri, String s) {
  26.         super(uri, s);
  27.     }

  28.     /**
  29.      * Constructs an exception indicating a repository does not exist.
  30.      *
  31.      * @param uri
  32.      *            URI used for transport
  33.      * @param s
  34.      *            message
  35.      * @param cause
  36.      *            root cause exception
  37.      * @since 5.13.1
  38.      */
  39.     public NoRemoteRepositoryException(URIish uri, String s, Throwable cause) {
  40.         super(uri, s, cause);
  41.     }
  42. }