PackMismatchException.java

  1. /*
  2.  * Copyright (C) 2009, Google Inc. 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 java.io.IOException;

  12. /**
  13.  * Thrown when a PackFile no longer matches the PackIndex.
  14.  */
  15. public class PackMismatchException extends IOException {
  16.     private static final long serialVersionUID = 1L;

  17.     /**
  18.      * Construct a pack modification error.
  19.      *
  20.      * @param why
  21.      *            description of the type of error.
  22.      */
  23.     public PackMismatchException(String why) {
  24.         super(why);
  25.     }
  26. }