View Javadoc
1   /*
2    * Copyright (C) 2017, Matthias Sohn <matthias.sohn@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  
11  package org.eclipse.jgit.errors;
12  
13  import java.io.IOException;
14  
15  /**
16   * Thrown when a PackFile is found not to contain the pack signature defined by
17   * git.
18   *
19   * @since 4.5
20   */
21  public class NoPackSignatureException extends IOException {
22  	private static final long serialVersionUID = 1L;
23  
24  	/**
25  	 * Construct an exception.
26  	 *
27  	 * @param why
28  	 *            description of the type of error.
29  	 */
30  	public NoPackSignatureException(String why) {
31  		super(why);
32  	}
33  }