You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

NoPackSignatureException.java 783B

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