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.

StoredPackRepresentationNotAvailableException.java 1.0KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Copyright (C) 2010, 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 org.eclipse.jgit.internal.storage.file.Pack;
  12. /**
  13. * A previously selected representation is no longer available.
  14. */
  15. public class StoredPackRepresentationNotAvailableException extends Exception {
  16. //TODO remove unused ObjectToPack in 5.0
  17. private static final long serialVersionUID = 1L;
  18. /**
  19. * Construct an error for an object.
  20. *
  21. * @param pack
  22. * the object whose current representation is no longer present.
  23. * @param cause
  24. * cause
  25. * @since 5.13
  26. */
  27. public StoredPackRepresentationNotAvailableException(Pack pack,
  28. Throwable cause) {
  29. super(cause);
  30. // Do nothing.
  31. }
  32. }