LfsConfigInvalidException.java

  1. /*
  2.  * Copyright (C) 2016, 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.lfs.errors;

  11. import java.io.IOException;

  12. /**
  13.  * Thrown when a LFS configuration problem has been detected (i.e. unable to
  14.  * find the remote LFS repository URL).
  15.  *
  16.  * @since 4.11
  17.  */
  18. public class LfsConfigInvalidException extends IOException {
  19.     private static final long serialVersionUID = 1L;

  20.     /**
  21.      * Constructor for LfsConfigInvalidException.
  22.      *
  23.      * @param msg
  24.      *            the error description
  25.      */
  26.     public LfsConfigInvalidException(String msg) {
  27.         super(msg);
  28.     }

  29.     /**
  30.      * Constructor for LfsConfigInvalidException.
  31.      *
  32.      * @param msg
  33.      *            the error description
  34.      * @param e
  35.      *            cause of this exception
  36.      * @since 5.0
  37.      */
  38.     public LfsConfigInvalidException(String msg, Exception e) {
  39.         super(msg, e);
  40.     }

  41. }