xref: /JGit/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/errors/LfsConfigInvalidException.java (revision 5c5f7c6b146b24f2bd4afae1902df85ad6e57ea3)
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 
12 import java.io.IOException;
13 
14 /**
15  * Thrown when a LFS configuration problem has been detected (i.e. unable to
16  * find the remote LFS repository URL).
17  *
18  * @since 4.11
19  */
20 public class LfsConfigInvalidException extends IOException {
21 	private static final long serialVersionUID = 1L;
22 
23 	/**
24 	 * Constructor for LfsConfigInvalidException.
25 	 *
26 	 * @param msg
27 	 *            the error description
28 	 */
LfsConfigInvalidException(String msg)29 	public LfsConfigInvalidException(String msg) {
30 		super(msg);
31 	}
32 
33 	/**
34 	 * Constructor for LfsConfigInvalidException.
35 	 *
36 	 * @param msg
37 	 *            the error description
38 	 * @param e
39 	 *            cause of this exception
40 	 * @since 5.0
41 	 */
LfsConfigInvalidException(String msg, Exception e)42 	public LfsConfigInvalidException(String msg, Exception e) {
43 		super(msg, e);
44 	}
45 
46 }
47